AnnotationJustification Option

 

The AnnotationJustification option changes the justification of multiple line text blocks of Annotation. The OptionValue is set to 0, 1, or 2. 0 is left justified. 1 is center justified. 2 is right justified.

 

Syntax

object.Construct(“CreateModule”)

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

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

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

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

object.Do() or object.DoOnce()

 

Example

This example shows how to change the annotation multiple line justification to centered.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("AnnotationJustification", "1")

  CommandApi.Do()

 

Used by: Annotation module

 

 

See Also

Automation Model