Extensibility > Graphics Builder Automation Interface > Page Properties Functions > PageNext

PageNext

Retrieves the name of the page currently defined as "next" for the active graphics page, or sets the page you would like defined as next.

Syntax

PageNext(PageName)

PageName:

The name of the page defined as next for the active graphics page, as a string.

Return Value

The name of the page defined as next for the active graphics page (as a string), or 0 (zero) if successfully used to set the page that is defined as next. In both cases, an error is returned if unsuccessful.

Note: For details on handling return and error values, see Error Handling.

Related Functions

PageName, PageTitle, PageDescription, PagePrevious, PageArea, PageScanTime, PageLogDevice

See Also

Example

' Defines a page as the one that follows the current page in a browse sequence
GraphicsBuilder.PageNext = "MyPage3"
' Retrieves the name of the page that follows the current page in a browse sequence
MyVariable = GraphicsBuilder.PageNext

Note: This function is implemented in the C++ environment as two separate functions: put_PageNext sets the page defined as next for the active graphics page, and get_PageNext retrieves the name of the next graphics page.

Published June 2018