[]
        
(Showing Draft Content)

BmpContextProperties

DsPdfJS API v9.1.0


DsPdfJS API / BmpContextProperties

Type Alias: BmpContextProperties

BmpContextProperties = object

Provides settings for creating a DrawingContext for Bitmap.

Properties

backColor?

optional backColor: 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.