Image::IsAlphaPixelFormat Method (PixelFormat)

 

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

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public:
static bool IsAlphaPixelFormat(
	PixelFormat pixfmt
)

Parameters

pixfmt
Type: System.Drawing.Imaging::PixelFormat

The PixelFormat to test.

Return Value

Type: System::Boolean

true if pixfmt contains alpha information; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show: