Adds user data to an existing element.
Visual Basic |
---|
Public Sub ElementUserDataAdd( _ ByVal elementHandle As Long, _ ByVal key As String, _ ByVal value As String _ ) |
- elementHandle
- The handle of an element returned by the ElementCreate method.
- key
- The key as part of the key value pair.
- value
- The value as part of the key value pair.
Element User Data is two text fields called key and value (a map). These are allocated by each element and reserved for use by the application to store a private key value pair to associate to an element.
User data can be programmatically modified or added via the NX_XML file format
User data may be associated with an element, group, layer, or page