pageSpan

Determines the number of logical pages a given form design object spans.

Syntax

Reference_Syntax.pageSpan( OBJECT param )

Parameters

param

The fully qualified reference syntax expression of one of the following a container form design objects:

Returns

An integer representing the number of logical pages a form object spans. For example, consider an 8-page form with a form object that exists only on pages 2, 4, 5, and 6. In this case, using the pageSpan method on the form object returns a value of 5, which is the number of pages of the form the object spans.

Applies to

Version

XFA 2.1

Examples

JavaScript

xfa.layout.pageSpan(this);

FormCalc

xfa.layout.pageSpan($)

// Ethnio survey code removed