Deletes a specified symbol, Genie or Supergenie from a library.
Syntax
PageDeleteEx(Project, Library, Element, PageType)
Project:
The name of the project where the element can be found.
Library:
The name of the library where the element can be found.
Element:
Name of the symbol, Genie or Supergenie.
PageType:
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, PageOpen, PageSaveAs, PageSave
Example
' Deletes the specified symbol
' Deletes the specified Supergenie
GraphicsBuilder.PageDeleteEx "Example", "TestLibrary", "TestObject", 0
' Deletes the specified Genie
GraphicsBuilder.PageDeleteEx "Example", "TestLibrary", "TestObject", 1
GraphicsBuilder.PageDeleteEx "Example", "TestLibrary", "TestObject", 2
Published June 2018