Technical Reference > Graphics Builder Automation Interface > Library Object Functions > LibraryObjectNextProperty

LibraryObjectNextProperty

Returns the name and value of the active Genie's "next" property when implemented following a call of the function LibraryObjectFirstProperty. By using multiple calls of this function, you can iterate through an object's properties.

Syntax

LibraryObjectNextPropertyEx(PropertyName, PropertyValue)

PropertyName:

Returns the name of the active genie's next property as a string.

PropertyValue:

Returns the value of the active genie's next property as a string.

Return Value

The name and value of the Genie's next property as string values

Note: For details on handling return and error values, see Error Handling.

Related Functions

LibraryObjectPlace, LibraryObjectFirstProperty, LibraryObjectPutProperty, LibraryObjectName

Example

On Error Resume Next
Err.Clear
GraphicsBuilder.LibraryObjectFirstProperty PropName, PropValue
While Err.Number = 0
Debug.Print PropName, PropValue
GraphicsBuilder.LibraryObjectNextProperty PropName, PropValue
Wend