---
title: "Bitmap..::.PixelFormat Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Bitmap_PixelFormat.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Bitmap.PixelFormat Property 
 
Returns pixel format of the current bitmap.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public ReadOnly Property PixelFormat As PixelFormat
```
 
```csharp
public PixelFormat PixelFormat { get; }
```
 
### Property Value
 [PixelFormat](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_PixelFormat.htm.md) 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](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Bitmap_BitsPerPixel.htm.md) | Number of bits per pixel used by this pixel format. |
| [ColorSpace](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Bitmap_ColorSpace.htm.md) | Color space of pixels represented with current pixel format. |
| [HasAlpha](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Bitmap_HasAlpha.htm.md) | Whether current pixel format supports alpha channel (transparency information). |
| [IsCmyk](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Bitmap_IsCmyk.htm.md) | Whether color space of pixels represented with current pixel format is CMYK. |
| [IsRgb](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Bitmap_IsRgb.htm.md) | Whether color space of pixels represented with current pixel format is RGB. |
| [IsGrayScale](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Bitmap_IsGrayScale.htm.md) | Whether color space of pixels represented with current pixel format is grayscale. |
| [IsExtended](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Bitmap_IsExtended.htm.md) | Whether current pixel format is extended (16 bits per channel). |
| [IsIndexed](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Bitmap_IsIndexed.htm.md) | Whether current pixel format is indexed (palette-based). |
   
## See Also

### Reference

- [Bitmap Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
