Technical Reference > Graphics Builder Automation Interface > Page Functions > PageNew

PageNew

Creates a new CitectSCADA graphics page.

Syntax

PageNew(Project, Style, Template, Resolution, Titlebar, Linked)

Project:

The name of the project that contains the template you would like to apply to the page.

Style:

The style you would like to apply to your new CitectSCADA graphics page. CitectSCADA templates are grouped into styles.

Template:

Specifies the template you would like to apply to your new CitectSCADA graphics page.

Resolution:

Sets the appropriate resolution for the page being created.

Titlebar:

Set to TRUE to include a titlebar on your new CitectSCADA graphics page.

Linked:

Set to TRUE to link the page to the library.

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 new CitectSCADA graphics page
GraphicsBuilder.PageNew "include", "standard", "blank", 2, True, True