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

PageSaveAsEx

Saves a symbol, Genie, Supergenie or template page to the specified location.

Syntax

PageSaveAsEx(Project, Library, Element)

Project:

The name of the project where the element is to be saved.

Library:

The name of the library (or style for templates) where the element is to be saved.

Element:

The new name for the symbol, Genie, Supergenie, or template to be saved.

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

PageNew, PageSave, PageSaveAs, PageClose

Example

' Renames and saves the currently selected element to the specified location
GraphicsBuilder.PageSaveAsEx "Example", "TestLibrary", "TestObject"