Appends a new annotation object to the current layer, using the attributes of the element parameter.
Visual Basic |
---|
Public Function ElementAppend( _ ByVal elementHandle As Long _ ) As Long |
- elementHandle
- The handle of the element returned by the ElementCreate method.
The unique sequence ID for this object in the current layer.
The attributes of the element considered relevant are determined by the element type.
For example: setting ElementLineEndStyle to a stamp will be ignored.
Note: Using this method to programmatically add annotations will automatically change the current tool to the PointerTool. If you want to maintain a particular tool as being current, first store the current tool to a NX_AnnotationTool object and then restore it after calling this method.