System::Drawing::Image::GetPixelFormatSize 方法

Image::GetPixelFormatSize method

返回在指定像素格式中表示颜色深度所使用的位数。

static int System::Drawing::Image::GetPixelFormatSize(Imaging::PixelFormat pixfmt)
参数类型描述
pixfmtImaging::PixelFormat用于确定大小的像素格式

ReturnValue

pixfmt 中的颜色深度

另见