Image.GetPixelFormatSize(PixelFormat) 메서드
정의
지정된 픽셀 형식의 색 농도(픽셀 당 비트 수)를 반환합니다.Returns the color depth, in number of bits per pixel, of the specified pixel format.
public:
static int GetPixelFormatSize(System::Drawing::Imaging::PixelFormat pixfmt);
public static int GetPixelFormatSize (System.Drawing.Imaging.PixelFormat pixfmt);
static member GetPixelFormatSize : System.Drawing.Imaging.PixelFormat -> int
Public Shared Function GetPixelFormatSize (pixfmt As PixelFormat) As Integer
매개 변수
- pixfmt
- PixelFormat
크기를 찾을 형식을 지정하는 PixelFormat 멤버입니다.The PixelFormat member that specifies the format for which to find the size.
반환
지정된 픽셀 형식의 색 농도를 반환합니다.The color depth of the specified pixel format.