AnnotationColor Option

 

The AnnotationColor option changes the color of the Annotation text. The OptionValue is set to a color name.

 

Syntax

object.Construct(“CreateModule”)

object.Option(“Type”, “Annotation”)

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

object.Option(“Module”, “Annotation”)

object.Option("AnnotationColor", “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example shows how to change the annotation text color.

 

  CommandApi.Construct ("ModifyModule")

  CommandApi.Option ("Module", "Annotation")

  CommandApi.Option ("AnnotationColor", "Plum")

  CommandApi.Do()

 

Used by: Annotation module

 

 

See Also

Automation Model