Extensibility > Graphics Builder Automation Interface > Page Functions > PageNewEx

PageNewEx

Creates a new symbol, Genie or Supergenie page.

Syntax

PageNewEx(PageType)

PageType:

Specifies the type of page you would like to create:

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

PageOpen, PageSave, PageSaveAs, PageClose

Example

' Creates a symbol as a new graphics page
GraphicsBuilder.PageNewEx "Example", "boiler", "tubes1", 0

' Creates a Genie as a new graphics page
GraphicsBuilder.PageNewEx "Example", "example", "dial", 1

' Creates a Supergenie as a new graphics page
GraphicsBuilder.PageNewEx "Example", "utility", "!sysinfo", 2

Published June 2018