AnnotationXPos Option

 

The AnnotationXPos option changes the Annotation horizontal position on the screen, relative to the AnnotationOrigin. The OptionValue is set to a number between 0 and 1. 0 puts it at the origin. 1 places the annotation at the far side from the origin.

 

Syntax

object.Construct(“CreateModule”)

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

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

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

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

object.Do() or object.DoOnce()

 

Example

This example shows how to change the annotation horizontal position.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("AnnotationXPos", "0.25")

  CommandApi.Do()

 

Used by: Annotation module

 

 

See Also

Automation Model