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