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

PageOpenTemplate

Opens a specified graphics page template.

Syntax

PageOpenTemplate(Project, Style, Template, Resolution, Titlebar)

Project:

The name of the project that contains the template.

Style:

The style of the template you would like to open.

Template:

The name of the template you would like to open.

Resolution:

The resolution of the template.

Titlebar:

Set to TRUE to select a titlebar.

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

' Opens a graphics page template
GraphicsBuilder.PageOpenTemplate "include", "standard", "blank", 2, True