This documentation is for the old version. Go to the latest Graphics Mill docs

BitmapData Members

The BitmapData type exposes the following members.


Name Description
Public method {dtor}

Enables using delete operator in C++ applications. It is strongly not recommended to use it directly.

Public method Dispose

Releases all resources used by this BitmapData.

(Overrides LockableObject.Dispose().)
Public method Equals (Inherited from Object.)
Public method Export

Returns a copy of pixel data as 3D array.

Public method GetEmptyMask

Returns grayscale image of the same size as current bitmap data filled with black color. It can be used as mask template for transforms.

Public method GetHashCode (Inherited from Object.)
Public method GetPixel

Returns pixel value at specified coordinates.

Public method GetType (Inherited from Object.)
Public method Import

Fills the pixels of the current BitmapData object from given 3D array.

Public method Lock

Locks the object.

(Overrides LockableObject.Lock().)
Protected method MemberwiseClone (Inherited from Object.)
Public method SaveToClipboard

Saves the bitmap into the clipboard.

Public method SetPixel

Sets pixel value at the specified coordinates.

Public method ToString (Inherited from Object.)
Public method Unlock

Unlocks the object previously locked with method Lock().

(Overrides LockableObject.Unlock().)


Name Description
Public property Bitmap

Returns Bitmap associated with this BitmapData.

Public property BitsPerPixel

Returns number of bits per pixel for current BitmapData.

Public property ColorSpace

Indicates the color space of the current BitmapData.

Public property Height

Returns a height of this BitmapData (a number of scan lines).

Public property IsDisposed (Inherited from LockableObject.)
Public property Left

Returns X-coordinate of the left top corner of this BitmapData relatively parent Bitmap.

Public property Locked

Indicates if the object has been locked.

(Inherited from LockableObject.)
Public property MemoryUsed

Returns a number of bytes occupied with pixels of this BitmapData.

Public property PixelFormat

Returns pixel format of the current bitmap data.

Public property Scan0

Returns the pointer to the very first pixel of this BitmapData.

Public property Stride

Returns the bitmap data stride (scan line width in bytes).

Public property Timeout

Gets/sets value specifying maximum time for which object can be locked.

(Inherited from LockableObject.)
Public property Top

Returns Y-coordinate of the left top corner of this BitmapData relatively parent Bitmap.

Public property Width

Returns a width of this BitmapData (in pixels).

See Also