System::Drawing::Image::GetPixelFormatSize metod

Image::GetPixelFormatSize method

Returnerar antalet bitar som används för att representera färgdjupet i det angivna pixelformatet.

static int System::Drawing::Image::GetPixelFormatSize(Imaging::PixelFormat pixfmt)
ParameterTypBeskrivning
pixfmtImaging::PixelFormatEtt pixelformat för att bestämma storleken

ReturnValue

Färgdjupet i pixfmt

Se även