TextZPos Option

 

The TextZPos option changes the Z position of the text. The OptionValue is set to any number in map coordinates.

 

Syntax

object.Construct(“CreateModule”)

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

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

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

object.Option(“TextZPos”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example shows how to change the text vertical position.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("TextZPos", "50")

  CommandApi.Do()

 

Used by: Text module

 

 

See Also

Automation Model