Export (0) Print
Expand All

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
[C#]
public static bool IsAlphaPixelFormat(
 PixelFormat pixfmt
);
[C++]
public: static bool IsAlphaPixelFormat(
 PixelFormat pixfmt
);
[JScript]
public static function IsAlphaPixelFormat(
   pixfmt : PixelFormat
) : Boolean;

Parameters

pixfmt
The PixelFormat enumeration to test.

Return Value

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

Requirements

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

Show:
© 2015 Microsoft