TX Text Control .NET Server

Javascript: LoadDocumentCallbackData.pageSize Property

Property

Description

The width and height of the loaded document's pages.

Syntax

<Size> LoadDocumentCallbackData.pageSize

Examples

The following example demonstrates LoadDocumentCallbackData.pageSize in a practical document-editing workflow. The width and height of the loaded document's pages.

function inspectPageSize(loadDocumentCallbackData) {
    const pageSize = loadDocumentCallbackData.pageSize;
    console.log("page size:", pageSize);
}