AnnotationYPos Option

 

The AnnotationYPos option changes the Annotation vertical 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("AnnotationYPos", “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example shows how to change the annotation vertical position.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("AnnotationYPos", "0.5")

  CommandApi.Do()

 

Used by: Annotation module

 

 

See Also

Automation Model