The TextXPos option changes the X 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(“TextXPos”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example shows how to change the text origin location.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "Text")
CommandApi.Option ("TextXPos", "50")
CommandApi.Do()
Used by: Text module
See Also