This documentation is archived and is not being maintained.

Image.IsAlphaPixelFormat Method

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

[Visual Basic]
Public Shared Function IsAlphaPixelFormat( _
   ByVal pixfmt As PixelFormat _
) As Boolean
public static bool IsAlphaPixelFormat(
 PixelFormat pixfmt
public: static bool IsAlphaPixelFormat(
 PixelFormat pixfmt
public static function IsAlphaPixelFormat(
   pixfmt : PixelFormat
) : Boolean;


The PixelFormat enumeration to test.

Return Value

This method returns true if the pixfmt parameter contains alpha information; otherwise, false.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Image Class | Image Members | System.Drawing Namespace