# PdfPageContextOptions

## Content

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

***

[DsPdfJS API](../globals) / 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](#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](#resolution) into account.
