numPages

Returns the number of pages in the current document.

Syntax

Reference_Syntax.numPages

Values

Type

Values

Integer

A valid integer representing the total number of pages.

Applies to

Version

XFA 2.1

Examples

JavaScript

xfa.host.numPages;

FormCalc

xfa.host.numPages

// Ethnio survey code removed