Image.IsCanonicalPixelFormat Method

Returns a value that indicates whether the pixel format is 32 bits per pixel.

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

public static bool IsCanonicalPixelFormat (
	PixelFormat pixfmt
)
public static boolean IsCanonicalPixelFormat (
	PixelFormat pixfmt
)
public static function IsCanonicalPixelFormat (
	pixfmt : PixelFormat
) : boolean
Not applicable.

Parameters

pixfmt

The PixelFormat to test.

Return Value

true if pixfmt is canonical; otherwise, false.

The canonical pixel format indicates a pixel format of 32 bits per pixel. This format specifies 24-bit color depth and an 8-bit alpha channel.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: