Returns pixel format of the current bitmap.
Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public ReadOnly Property PixelFormat As PixelFormat |
| C# |
|---|
public PixelFormat PixelFormat { get; } |
| Visual C++ |
|---|
public: property PixelFormat PixelFormat { PixelFormat get (); } |
Property Value
PixelFormat value specifying the pixel format of the current bitmap.
Remarks
You can use the following properties to get more detailed information about current pixel format:
| Property | Description |
|---|---|
| BitsPerPixel | Number of bits per pixel used by this pixel format. |
| ColorSpace | Color space of pixels represented with current pixel format. |
| HasAlpha | Whether current pixel format supports alpha channel (transparency information). |
| IsCmyk | Whether color space of pixels represented with current pixel format is CMYK. |
| IsRgb | Whether color space of pixels represented with current pixel format is RGB. |
| IsGrayScale | Whether color space of pixels represented with current pixel format is grayscale. |
| IsExtended | Whether current pixel format is extended (16 bits per channel). |
| IsIndexed | Whether current pixel format is indexed (palette-based). |