The AnnotationFont option changes the font of the Annotation text. The OptionValue is set to any font name.
Syntax
object.Construct(“CreateModule”)
object.Option(“Type”, “Annotation”)
object.Do() or object.DoOnce()
object.Construct(“ModifyModule”)
object.Option(“Module”, “Annotation”)
object.Option("AnnotationFont", “OptionValue”)
object.Do() or object.DoOnce()
Example
This example shows how to change the annotation text font to Times New Roman.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "Annotation")
CommandApi.Option ("AnnotationFont", "Times New Roman")
CommandApi.Do()
Used by: Annotation module
See Also