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

PageDeleteTemplate

Deletes a specified graphics page template.

Syntax

PageDeleteTemplate(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 delete.

Template:

The name of the template you would like to delete.

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

' Deletes a graphics page template
GraphicsBuilder.PageDeleteTemplate "include", "standard", "blank", 2, True