System::Drawing::Image::IsAlphaPixelFormat method

Image::IsAlphaPixelFormat method

Determines if the specified pixel format contains alpha information.

static bool System::Drawing::Image::IsAlphaPixelFormat(Imaging::PixelFormat pixfmt)
ParameterTypeDescription
pixfmtImaging::PixelFormatA pixel format to test

ReturnValue

True if pixfmt contains alpha information, otherwise - false

See Also