IReadWriteBitmapData Interface

KGy SOFT Drawing Libraries Help
Provides a fast read-write 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 IReadWriteBitmapData : IReadableBitmapData, 
	IBitmapData, IDisposable, IWritableBitmapData

The IReadWriteBitmapData type exposes the following members.

Properties

  NameDescription
Public propertyFirstRow
Gets an IReadWriteBitmapDataRow instance representing the first row of the current IReadWriteBitmapData. 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 IReadWriteBitmapDataRow representing the row of the specified y coordinate in the current IReadWriteBitmapData.
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.
(Inherited from IReadableBitmapData.)
Public methodSetPixel
Sets the color of the pixel at the specified coordinates.
See the Remarks section for details.
(Inherited from IWritableBitmapData.)
Top
See Also

Reference