Removes a formatting style from a Text Control document.

Remove(String)

public bool Remove(string styleName);

Parameters

Parameter Description
styleName Specifies the name of the style to remove.

Return Value

The return value is true, if the style could be removed. Otherwise it is false.