# BmpContextProperties

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / BmpContextProperties

# Type Alias: BmpContextProperties

> **BmpContextProperties** = `object`

Provides settings for creating a [DrawingContext](../classes/DrawingContext) for [Bitmap](../classes/Bitmap).

## Properties

### backColor?

> `optional` **backColor**: [`Color`](Color) \| `null`

An optional background color to fill the drawing surface.

***

### height?

> `optional` **height**: `number`

The height of the drawing surface, in graphic units.

***

### scale?

> `optional` **scale**: `number`

The scale factor for mapping from graphic units to pixels.
The default is 1.0: the width and height are in pixels (96 DPI).

***

### width?

> `optional` **width**: `number`

The width of the drawing surface, in graphic units.
