Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Graphics Mill docs

Bitmap Properties

The Bitmap type exposes the following members.

Properties

Name Description
Public property BitsLocked

Indicates if pixels are locked with LockBits(Int32, Int32, Int32, Int32).

Public property BitsPerPixel

Returns number of bits per pixel.

Public property CanRedo

Indicates if last reverted action can be redone.

Public property CanUndo

Indicates if last bitmap modification can be undone.

Public property Channels

Returns object which provides access to various operations with bitmap channels.

Public property ColorAdjustment

Returns object providing methods which are responsible for color adjustment and tone correction (brightness/contrast, levels, hue/saturation/lightness adjustment, etc.).

Public property ColorManagement

Returns object providing methods which are responsible for color management.

Public property ColorProfile

Gets/sets color profile associated with the bitmap.

Public property ColorSpace

Indicates color space of the current bitmap.

Public property CompressSerializedData

Gets/sets a value that specifies whether to compress data during serialization.

Public property Handle

Gets a GDI handle to the bitmap (HBITMAP).

Public property HasAlpha

Specifies whether current pixel format supports alpha channel (information about opacity of pixels).

Public property Height

Returns current bitmap height in pixels.

Public property HorizontalResolution

Specifies horizontal resolution of the image (also known as DPI, dots per inch).

(Inherited from UnitConverterObject.)
Public property IsCmyk

Indicates if color space of current bitmap is CMYK.

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

Indicates if bitmap is empty (no bitmap data loaded).

Public property IsExtended

Indicates if current pixel format is extended (i.e. 16 bits per channel).

Public property IsGrayScale

Indicates if color space of current bitmap is grayscale.

Public property IsIndexed

Indicates if current bitmap is indexed (palette-based).

Public property IsRgb

Indicates if color space of current bitmap is RGB.

Public property Locked

Indicates if the object has been locked.

(Inherited from LockableObject.)
Public property LogicalHeight

Returns current bitmap height in units specified with Unit property.

Public property LogicalWidth

Returns current bitmap width in units specified with Unit property.

Public property MaxUndoStepCount

Gets/sets maximum number of available undo steps (levels).

Public property MemoryUsed

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

Public property Modified

Indicates if the bitmap was changed since last saving.

Public property Palette

Returns palette accosiated with bitmap.

Public property PixelFormat

Returns pixel format of the current bitmap.

Public property RedoStepCount

Returns number of available redo levels (i.e. how much time method Redo() can be called).

Public property Statistics

Returns an object providing methods which retrieves bitmap stats (like histogram, etc).

Public property Timeout

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

(Inherited from LockableObject.)
Public property Transforms

Returns object providing methods which are responsible for geometric transformations of the bitmap (resize, rotate, crop, swirl, etc).

Public property UndoRedoEnabled

Enables or disables undo/redo functionality.

Public property UndoRedoTrackingEnabled

Enables or disables the automatic change tracking.

Public property UndoStepCount

Returns number of available undo levels (i.e. how much time method Undo() can be called).

Public property Unit

Gets/sets unit to convert from/to.

(Inherited from UnitConverterObject.)
Public property VerticalResolution

Specifies vertical resolution (also known as DPI, dots per inch).

(Inherited from UnitConverterObject.)
Public property Width

Returns current bitmap width in pixels.

See Also

Reference