The TextYPos option changes the Y 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(“TextYPos”, “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 ("TextYPos", "50")
CommandApi.Do()
Used by: Text module
See Also