2.5.3.117 PageNumber

The PageNumber function returns an index of a drawing page.

ABNF:

 PageNumber = "PAGENUMBER()"

Return Value:

Type: PtgInt

This function returns an index of the drawing page.

If the drawing page is a background page or if the function is called outside of a page context, zero is returned.