Image.IsCanonicalPixelFormat-Methode
Gibt einen Wert zurück, der angibt, ob das Pixelformat 32 Bits pro Pixel beträgt.
Namespace: System.Drawing
Assembly: System.Drawing (in system.drawing.dll)
Syntax
'Declaration
Public Shared Function IsCanonicalPixelFormat ( _
pixfmt As PixelFormat _
) As Boolean
'Usage
Dim pixfmt As PixelFormat
Dim returnValue As Boolean
returnValue = Image.IsCanonicalPixelFormat(pixfmt)
public static bool IsCanonicalPixelFormat (
PixelFormat pixfmt
)
public:
static bool IsCanonicalPixelFormat (
PixelFormat pixfmt
)
public static boolean IsCanonicalPixelFormat (
PixelFormat pixfmt
)
public static function IsCanonicalPixelFormat (
pixfmt : PixelFormat
) : boolean
Parameter
- pixfmt
Das zu überprüfende PixelFormat.
Rückgabewert
true, wenn pixfmt kanonisch ist, andernfalls false.
Hinweise
Das kanonische Pixelformat gibt ein Pixelformat von 32 Bits pro Pixel an. Dieses Format gibt 24-Bit Farbtiefe und einen 8-Bit-Alphakanal an.
Plattformen
Windows 98, Windows 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
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.
Versionsinformationen
.NET Framework
Unterstützt in: 2.0, 1.1, 1.0