---
title: "Bitmap Properties "
canonical: https://www.graphicsmill.com/docs/gmwc/Properties_T_J_GraphicsMill_Bitmap.htm
archived: true
applies_to:
  - product: "Graphics Mill Web Controls"
---

**You’re viewing documentation for an outdated product.** Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see [Design Atoms .NET](https://customerscanvas.com/docs/on-premises/design-atoms-cs/), [Design Atoms JS](https://customerscanvas.com/docs/on-premises/design-atoms-js/), and [Design Editor](https://customerscanvas.com/docs/on-premises/design-editor/).

# Bitmap Properties 

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
The [Bitmap](https://www.graphicsmill.com/docs/gmwc/T_J_GraphicsMill_Bitmap.htm.md) type exposes the following members.
 
## Properties

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public property](https://www.graphicsmill.com/docs/gmwc/icons/pubproperty.gif) |  [bitsPerPixel](https://www.graphicsmill.com/docs/gmwc/P_J_GraphicsMill_Bitmap_bitsPerPixel.htm.md) |  Gets the number of bits per pixel. |
 |  ![Public property](https://www.graphicsmill.com/docs/gmwc/icons/pubproperty.gif) |  [colorSpace](https://www.graphicsmill.com/docs/gmwc/P_J_GraphicsMill_Bitmap_colorSpace.htm.md) |  Gets a value which specifies color space of the current bitmap. |
 |  ![Public property](https://www.graphicsmill.com/docs/gmwc/icons/pubproperty.gif) |  [hasAlpha](https://www.graphicsmill.com/docs/gmwc/P_J_GraphicsMill_Bitmap_hasAlpha.htm.md) |  Gets a value indicating if current pixel format supports alpha channel (information about opacity of pixels). |
 |  ![Public property](https://www.graphicsmill.com/docs/gmwc/icons/pubproperty.gif) |  [height](https://www.graphicsmill.com/docs/gmwc/P_J_GraphicsMill_Bitmap_height.htm.md) |  Gets current bitmap height in pixels. |
 |  ![Public property](https://www.graphicsmill.com/docs/gmwc/icons/pubproperty.gif) |  [horizontalResolution](https://www.graphicsmill.com/docs/gmwc/P_J_GraphicsMill_Bitmap_horizontalResolution.htm.md) |  Gets horizontal resolution of the bitmap in DPI. |
 |  ![Public property](https://www.graphicsmill.com/docs/gmwc/icons/pubproperty.gif) |  [isCmyk](https://www.graphicsmill.com/docs/gmwc/P_J_GraphicsMill_Bitmap_isCmyk.htm.md) |  Gets a value indicating if color space of current bitmap is CMYK. |
 |  ![Public property](https://www.graphicsmill.com/docs/gmwc/icons/pubproperty.gif) |  [isEmpty](https://www.graphicsmill.com/docs/gmwc/P_J_GraphicsMill_Bitmap_isEmpty.htm.md) |  Gets a value indicating if bitmap is empty (no bitmap data loaded). |
 |  ![Public property](https://www.graphicsmill.com/docs/gmwc/icons/pubproperty.gif) |  [isExtended](https://www.graphicsmill.com/docs/gmwc/P_J_GraphicsMill_Bitmap_isExtended.htm.md) |  Gets a value indicating if current pixel format is extended (i.e. 16 bits per channel). |
 |  ![Public property](https://www.graphicsmill.com/docs/gmwc/icons/pubproperty.gif) |  [isGrayScale](https://www.graphicsmill.com/docs/gmwc/P_J_GraphicsMill_Bitmap_isGrayScale.htm.md) |  Gets a value indicating if color space of current bitmap is grayscale. |
 |  ![Public property](https://www.graphicsmill.com/docs/gmwc/icons/pubproperty.gif) |  [isIndexed](https://www.graphicsmill.com/docs/gmwc/P_J_GraphicsMill_Bitmap_isIndexed.htm.md) |  Gets a value indicating if current bitmap is indexed (palette-based). |
 |  ![Public property](https://www.graphicsmill.com/docs/gmwc/icons/pubproperty.gif) |  [isRgb](https://www.graphicsmill.com/docs/gmwc/P_J_GraphicsMill_Bitmap_isRgb.htm.md) |  Gets a value indicating if color space of current bitmap is RGB. |
 |  ![Public property](https://www.graphicsmill.com/docs/gmwc/icons/pubproperty.gif) |  [pixelFormat](https://www.graphicsmill.com/docs/gmwc/P_J_GraphicsMill_Bitmap_pixelFormat.htm.md) |  Gets pixel format of the current bitmap. |
 |  ![Public property](https://www.graphicsmill.com/docs/gmwc/icons/pubproperty.gif) |  [verticalResolution](https://www.graphicsmill.com/docs/gmwc/P_J_GraphicsMill_Bitmap_verticalResolution.htm.md) |  Gets vertical resolution of the bitmap in DPI. |
 |  ![Public property](https://www.graphicsmill.com/docs/gmwc/icons/pubproperty.gif) |  [width](https://www.graphicsmill.com/docs/gmwc/P_J_GraphicsMill_Bitmap_width.htm.md) |  Gets current bitmap width in pixels. |
   
## See Also

### Reference

- [Bitmap Class](https://www.graphicsmill.com/docs/gmwc/T_J_GraphicsMill_Bitmap.htm.md)
- [GraphicsMill Namespace](https://www.graphicsmill.com/docs/gmwc/N_J_GraphicsMill.htm.md)
