Contents - Index - Previous - Next


ApplyDivClass method




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

Description

Applies <DIV 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.