> For the complete documentation index, see [llms.txt](https://interopxyz.gitbook.io/graphic-plus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://interopxyz.gitbook.io/graphic-plus/components/convert/drawing-to-bitmap.md).

# Drawing to Bitmap

Create a Bitmap file of a Drawing.

## Description

Create a Bitmap file of a Drawing.

{% tabs %}
{% tab title="Preview" %}
![](https://3812251213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJc5xO1Wiq8RypHg00wGA%2Fuploads%2FG0dR6pEONDuatiwqh9eS%2FComponent-ToBitmap.png?alt=media\&token=dfea9925-d4c3-43eb-8263-c357baf2b9cf)
{% endtab %}

{% tab title="Location" %}
**Name** | Drawing to Bitmap

**Nickname** | DrawingToBmp

**Tab** | Display

**Panel** | Graphics

**Division** | 6
{% endtab %}

{% tab title="Inputs" %}
**D** | **Drawing** (*G+ Drawing*) | A Graphic Plus Drawing object

**S** | **PPI** (*Integer*) | The pixel per inch value acts as a scalar multiplier. Must be 96 or above
{% endtab %}

{% tab title="Ouputs" %}
**B** | **Bitmap** (*System.Drawing.Bitmap*) | A Bitmap Object of the Drawing.
{% endtab %}

{% tab title="Mode" %}
​*none*
{% endtab %}
{% endtabs %}

## Usage

#### Sample Output

![](https://3812251213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJc5xO1Wiq8RypHg00wGA%2Fuploads%2FfcLtM3bPk0xp6WuoGoc7%2FSample.png?alt=media\&token=e9dd9076-0299-4e5b-b127-cc933603e119)
