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

    Type Alias PdfPageContextOptions

    Provides settings for adding a new page to a PDF document.

    type PdfPageContextOptions = {
        height?: number;
        resolution?: number;
        rotation?: number;
        width?: number;
    }
    Index

    Properties

    height?: number

    The height of the page, in graphic units, taking resolution into account.

    resolution?: number

    The resolution of the page context. The default is 72, i.e. the width and height are in points (72 DPI).

    rotation?: number

    The number of degrees by which the page should be rotated clockwise when displayed or printed. The value must be a multiple of 90.

    width?: number

    The width of the page, in graphic units, taking resolution into account.