DisplayOption

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])
OptionNameOption name.
Param1For the font: font name,
Other cases: numeric parameter
Param2For the font: size
Param3For 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.