The TextFont option changes the font of the text. The OptionValue is set to any font name.
Syntax
object.Construct(“CreateModule”)
object.Option(“Type”, “Text”)
object.Do() or object.DoOnce()
object.Construct(“ModifyModule”)
object.Option(“Module”, “Text”)
object.Option(“TextFont", “OptionValue”)
object.Do() or object.DoOnce()
Example
This example shows how to change the text font to Times New Roman.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "Text")
CommandApi.Option ("TextFont", "Times New Roman")
CommandApi.Do()
Used by: Text module
See Also