Programmer's Guide > Interfaces > Application interface > setOption method
  
setOption method
Sets the value of the Arbortextset option, in global scope. If name specifies a Document- or View-scoped option, setting the value does not affect any existing documents or views, only newly created objects.
setOption(name, value)
Parameters
Stringname
Specifies the option name.
Stringvalue
Specifies the new value of the option. Boolean values are specified using the string on or off.
Returns
void
Throws
AOMException
Raised if the method detects an error (for example, if name is not a valid option).