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