PageNew
- Last UpdatedJul 13, 2023
- 1 minute read
Creates a new Plant SCADA 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 Plant SCADA graphics page. Plant SCADA templates are grouped into styles.
Template:
Specifies the template you would like to apply to your new Plant SCADA graphics page.
Resolution:
Sets the appropriate resolution for the page being created.
0 = Default
1 = VGA
2 = SVGA
3 = XGA
4 = SXGA
5 = User
6 = WUXGA
7 = HD1080
Titlebar:
Set to TRUE to include a titlebar on your new Plant SCADA 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 Plant SCADA graphics page
GraphicsBuilder.PageNew "include", "standard", "blank", 2, True, True