Extensibility > Graphics Builder Automation Interface > Page Functions > PageNewTemplate

PageNewTemplate

Creates a new Citect 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.

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 Citect SCADAgraphics page template
GraphicsBuilder.PageNewTemplate "include", "standard", "blank", 2, True, True

Published June 2018