Programmer's Guide > Interfaces > ADocument interface > setOption method
  
setOption method
This method sets the value of the Arbortextset option, scoped to this document.
setOption(name, value)
Parameters
Stringname
Specifies the option name, which must be a document-scope option.
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 document-scope option.