Extensibility > Graphics Builder Automation Interface > Page Functions > PageSelectFirst

PageSelectFirst

Selects the first page currently open in the Graphics Builder. Fails if there are no pages open.

Syntax

PageSelectFirst

Return Value

0 (zero) if successful, otherwise an error is returned.

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

Related Functions

PageSelectNext

Example

' Selects the first page in Graphics Builder
GraphicsBuilder.PageSelectFirst
If Err.Number <> 0 Then
Output.Print "PageSelectFirst Error" + "; Err.Number = " + Hex(Err.Number)
Else
Output.Print "PageSelectFirst OK" End If

Published June 2018