IReadableBitmapData Interface

KGy SOFT Drawing Libraries Help
Provides a fast read-only access to the actual data of a Bitmap. The owner Bitmap can have any PixelFormat.
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 IReadableBitmapData : IBitmapData, 
	IDisposable

The IReadableBitmapData type exposes the following members.

Properties

  NameDescription
Public propertyFirstRow
Gets an IReadableBitmapDataRow instance representing the first row of the current IReadableBitmapData. Subsequent rows can be accessed by calling the MoveNextRow method on the returned instance while it returns . Alternatively, you can use the indexer to obtain any row.
See the Examples section of the GetReadWriteBitmapData method for examples.
Public propertyHeight
Gets the height of the current IBitmapData instance in pixels.
(Inherited from IBitmapData.)
Public propertyItem
Gets an IReadableBitmapDataRow representing the row of the specified y coordinate in the current IReadableBitmapData.
See the Examples section of the GetReadWriteBitmapData method for examples.
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.
(Inherited from IBitmapData.)
Public propertyPixelFormat
Gets the PixelFormat of the current IBitmapData instance.
See the Remarks section for details.
(Inherited from IBitmapData.)
Public propertyWidth
Gets the width of the current IBitmapData instance in pixels.
(Inherited from IBitmapData.)
Top
Methods

  NameDescription
Public methodGetPixel
Gets the color of the pixel at the specified coordinates.
See the Remarks section for details.
Top
See Also

Reference