Adds user data to a specific layer.
Visual Basic |
---|
Public Sub LayerUserDataAdd( _ ByVal layerHandle As Long, _ ByVal key As String, _ ByVal value As String _ ) |
- layerHandle
- The handle of a layer returned by the CreateLayer method.
- key
- The key as part of the key value pair.
- value
- The value as part of the key value pair.
Layer User Data is two text fields called key and value (a map). These are allocated by each layer and reserved for use by the application to store a private key value pair to associate to a layer.
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