Contents - Index - Previous - Next


ApplySpanClass method




Declaration
function ApplySpanClass(const StyleClass: WideString): Boolean;

Description

Applies <SPAN class=name> to the current selection, assuming the document has a <STYLE>.name style class defined. The class name is specified by the StyleClass parameter.

Returns True on success. Returns False on failure, or if no text is currently selected in the control.