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

Bitmap Members

The Bitmap type exposes the following members.

Properties

Name Description
Public property bitsPerPixel

Gets the number of bits per pixel.

Public property colorSpace

Gets a value which specifies color space of the current bitmap.

Public property hasAlpha

Gets a value indicating if current pixel format supports alpha channel (information about opacity of pixels).

Public property height

Gets current bitmap height in pixels.

Public property horizontalResolution

Gets horizontal resolution of the bitmap in DPI.

Public property isCmyk

Gets a value indicating if color space of current bitmap is CMYK.

Public property isEmpty

Gets a value indicating if bitmap is empty (no bitmap data loaded).

Public property isExtended

Gets a value indicating if current pixel format is extended (i.e. 16 bits per channel).

Public property isGrayScale

Gets a value indicating if color space of current bitmap is grayscale.

Public property isIndexed

Gets a value indicating if current bitmap is indexed (palette-based).

Public property isRgb

Gets a value indicating if color space of current bitmap is RGB.

Public property pixelFormat

Gets pixel format of the current bitmap.

Public property verticalResolution

Gets vertical resolution of the bitmap in DPI.

Public property width

Gets current bitmap width in pixels.

See Also

Reference