Image.IsAlphaPixelFormat

Image.IsAlphaPixelFormat method

Returns a value that indicates whether the pixel format for this Image contains alpha information.

public static bool IsAlphaPixelFormat(PixelFormat pixfmt)
ParameterTypeDescription
pixfmtPixelFormatThe PixelFormat to test.

Return Value

true if pixfmt contains alpha information; otherwise, false.

See Also