Edit

Share via


Word.Interfaces.PageData interface

An interface describing the data returned by calling page.toJSON().

Properties

height

Gets the height, in points, of the paper defined in the Page Setup dialog box.

index

Gets the index of the page. The page index is 1-based and independent of the user's custom page numbering.

width

Gets the width, in points, of the paper defined in the Page Setup dialog box.

Property Details

height

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Gets the height, in points, of the paper defined in the Page Setup dialog box.

TypeScript
height?: number;

Property Value

number

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]

index

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Gets the index of the page. The page index is 1-based and independent of the user's custom page numbering.

TypeScript
index?: number;

Property Value

number

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]

width

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Gets the width, in points, of the paper defined in the Page Setup dialog box.

TypeScript
width?: number;

Property Value

number

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]