The AnnotationText option changes the text that is displayed in the Annotation. The OptionValue is a text you want displayed. Note: to use multiple lines of text, separate the lines with the vbCrLf string.
Syntax
object.Construct(“CreateModule”)
object.Option(“Type”, “Annotation”)
object.Do() or object.DoOnce()
object.Construct(“ModifyModule”)
object.Option(“Module”, “Annotation”)
object.Option(“AnnotationText”, “OptionValue”)
object.Do() or object.DoOnce()
Example 1
This example shows how to change the text that is displayed in the annotation.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "Annotation")
CommandApi.Option ("AnnotationText", "New Voxler Annotation Automation")
CommandApi.Do()
Example 2
This example shows how to change the text that is displayed in the annotation to two lines of text.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "Annotation")
CommandApi.Option ("AnnotationText", "New Voxler Annotation Automation" + vbCrLf + "Multiple lines")
CommandApi.Do()
Used by: Annotation module
See Also