Click or drag to resize

BitmapData Methods

The BitmapData type exposes the following members.

Methods
  NameDescription
Public methodDispose
Releases all resource used by the BitmapData object.
Protected methodDispose(Boolean)
Disposes the brush
Public methodGetPixel(Point)
Gets the color of the pixel at the specified position
Public methodGetPixel(Int32, Int32)
Gets the color of the pixel at the specified coordinates.
Public methodGetPixels
Gets an enumerable of pixels for each scan line from top to bottom.
Public methodSetPixel(Point, Color)
Sets the pixel color at the specified position.
Public methodSetPixel(Int32, Int32, Color)
Sets the pixel color at the specified coordinates.
Public methodSetPixels
Use this to set the pixels of the bitmap from an array or other source.
Public methodTranslateArgbToData
Translates a 32-bit ARGB value to the platform specific pixel format value
Public methodTranslateDataToArgb
Translates the platform specific pixel format to a 32-bit ARGB value
Top
See Also