DsPdfJS API - v9.1.0
    Preparing search index...

    Type Alias BmpContextProperties

    Provides settings for creating a DrawingContext for Bitmap.

    type BmpContextProperties = {
        backColor?: Color | null;
        height?: number;
        scale?: number;
        width?: number;
    }
    Index

    Properties

    backColor?: Color | null

    An optional background color to fill the drawing surface.

    height?: number

    The height of the drawing surface, in graphic units.

    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?: number

    The width of the drawing surface, in graphic units.