Programmer's Guide (《编程指南》) > Interfaces > Application interface > getOptionScope method
  
getOptionScope method
Returns the scope of the Arbortextset option.
getOptionScope(name )
Parameters
Stringname
Specifies the option name.
Returns
OptionScope. A code representing the scope of the option as defined by OptionScopeType. If name is not a valid option name, returns INVALID_SCOPE.