Freigeben über


BitmapData.PixelFormat-Eigenschaft

Ruft das Format der Pixeldaten aus dem Bitmap-Objekt ab, das dieses BitmapData-Objekt zurückgegeben hat, oder legt dieses fest.

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

Syntax

'Declaration
Public Property PixelFormat As PixelFormat
'Usage
Dim instance As BitmapData
Dim value As PixelFormat

value = instance.PixelFormat

instance.PixelFormat = value
public PixelFormat PixelFormat { get; set; }
public:
property PixelFormat PixelFormat {
    PixelFormat get ();
    void set (PixelFormat value);
}
/** @property */
public PixelFormat get_PixelFormat ()

/** @property */
public void set_PixelFormat (PixelFormat value)
public function get PixelFormat () : PixelFormat

public function set PixelFormat (value : PixelFormat)

Eigenschaftenwert

Ein PixelFormat, das das Format der Pixeldaten im zugeordneten Bitmap-Objekt angibt.

Hinweise

Das Format gibt an, wie viele Bits als Speicher benötigt werden, um die Farbinformationen für ein einzelnes Pixel zu speichern.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, 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

.NET Compact Framework

Unterstützt in: 2.0

Siehe auch

Referenz

BitmapData-Klasse
BitmapData-Member
System.Drawing.Imaging-Namespace