Returns the name of the selected object, if it is a library object.
LibraryObjectName(Project, Library, Object, GenieOrSymbol)
The name of the project that contains the object library you would like to source.
Specifies the library that contains the symbol or genie you would like to retrieve the name of.
The name of the symbol or genie as a string.
Indicates whether the object you want to retrieve the name for is a symbol or a genie.
The name of the specified object as a string.
Note: For details on handling return and error values, see Error Handling.
LibraryObjectFirstProperty, LibraryObjectNextProperty, LibraryObjectPutProperty
On Error Resume Next
GraphicsBuilder.LibraryObjectName Project, File, Page, LibType
If Err.Number = 0 Then
Debug.Print Project; "."; File; "."; Page
Debug.Print "not a library object"