Programmer's Guide > Interfaces > Window interface > setOption method
  
setOption method
Sets the value of the Arbortextset option, scoped to this window.
setOption(name, value)
Parameters
Stringname
Specifies the option name, which must be a window-scope option.
Stringvalue
Specifies the new value of the option. Boolean values are specified using the strings on and off.
Returns
void
Throws
AOMException
Raised if the method detects an error. (For example, if name is not a valid window-scope option.)