PixelFormat Property

BitmapData.PixelFormat Property

 

Gets or sets the format of the pixel information in the Bitmap object that returned this BitmapData object.

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

public PixelFormat PixelFormat { get; set; }

Property Value

Type: System.Drawing.Imaging.PixelFormat

A PixelFormat that specifies the format of the pixel information in the associated Bitmap object.

The format defines how many bits of memory are needed to store the color information for a single pixel.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft