[]
        
(Showing Draft Content)

PdfPageContextOptions

DsPdfJS API v9.1.0


DsPdfJS API / PdfPageContextOptions

Type Alias: PdfPageContextOptions

PdfPageContextOptions = object

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

Properties

height?

optional height: number

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


resolution?

optional resolution: number

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


rotation?

optional 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?

optional width: number

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