Programmer's Guide > Interfaces > Window interface > getOption method
  
getOption method
Returns the value of the Arbortextset option, scoped to this window.
getOption(name )
Parameters
Stringname
Specifies the option name, which must be a window-scope option.
Returns
String. The string value of the option, or null if name is not a valid option name. Boolean values return on or off.