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)
Parameter Type Description
pixfmt PixelFormat The PixelFormat to test.

Return Value

true if pixfmt contains alpha information; otherwise, false.

See Also