PageNewTemplate
- Last UpdatedJul 13, 2023
- 1 minute read
Creates a new Plant SCADA graphics page template.
PageNewTemplate(Project, Style, Template, Resolution, Titlebar, Linked)
Project:
The name of the project that will contain the template.
Style:
The style you would like to apply to your new template.
Template:
The name you would like to give to your new template.
Resolution:
Sets the appropriate resolution for the template being created.
0 = Default
1 = VGA
2 = SVGA
3 = XGA
4 = SXGA
5 = User
Titlebar:
Set to TRUE to include a titlebar on the template.
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 SCADAgraphics page template
GraphicsBuilder.PageNewTemplate "include", "standard", "blank", 2, True, True