指定したピクセル形式の色深度 (1 ピクセルあたりのビットの数) を返します。
Public Shared Function GetPixelFormatSize( _
ByVal pixfmt As PixelFormat _) As Integer
[C#]
public static int GetPixelFormatSize(PixelFormatpixfmt);
[C++]
public: static int GetPixelFormatSize(PixelFormatpixfmt);
[JScript]
public static function GetPixelFormatSize(
pixfmt : PixelFormat) : int;
パラメータ
- pixfmt
サイズの検索対象となる形式を指定する PixelFormat 列挙体のメンバ。
戻り値
指定したピクセル形式の色深度。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ