PageDeleteObject
- Last UpdatedJul 13, 2023
- 1 minute read
Deletes a specified symbol, Genie or Super Genie 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 Super genie.
PageType:
0 = Symbol
1 = Genie
2 = Super Genie
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
GraphicsBuilder.PageDeleteEx "Example", "TestLibrary", "TestObject", 0
' Deletes the specified Genie
GraphicsBuilder.PageDeleteEx "Example", "TestLibrary", "TestObject", 1
' Deletes the specified Super Genie
GraphicsBuilder.PageDeleteEx "Example", "TestLibrary", "TestObject", 2