IBitmapData Interface

KGy SOFT Drawing Libraries Help
Represents the raw data of a Bitmap. To obtain a readable or writable instance call the GetReadableBitmapData, GetWritableBitmapData or GetReadWriteBitmapData extension methods on a Bitmap instance.
See the Remarks section of the GetReadWriteBitmapData method for details and examples.

Namespace:  KGySoft.Drawing.Imaging
Assembly:  KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 5.0.0
Syntax

public interface IBitmapData : IDisposable

The IBitmapData type exposes the following members.

Properties

  NameDescription
Public propertyHeight
Gets the height of the current IBitmapData instance in pixels.
Public propertyPalette
Gets a Palette instance representing the colors of the owner Bitmap if it has an indexed PixelFormat, or  if the owner Bitmap is not an indexed one. For indexed bitmaps the PixelFormat property returns Format8bppIndexed, Format4bppIndexed or Format1bppIndexed.
Public propertyPixelFormat
Gets the PixelFormat of the current IBitmapData instance.
See the Remarks section for details.
Public propertyWidth
Gets the width of the current IBitmapData instance in pixels.
Top
See Also

Reference