Function allow to dynamically set for selected view mode any option, that can be set in <display> node of configuration.
DisplayOption(OptionName, Param1 [, Param2, Param3])
OptionName | Option name. |
Param1 | For the font: font name, Other cases: numeric parameter |
Param2 | For the font: size |
Param3 | For the font: style |
Names of all parameters and they values look Display options page.
Remarks
Function can be called multiple times for one option, but only last one will be used.