<< Click to display table of contents >> TCustomRichViewEdit.ApplyParaStyle |
Applies the specified paragraph style.
procedure ApplyParaStyle(ParaStyleNo: Integer);
ParaStyleNo – index in the collection of paragraph styles (Style.ParaStyles).
The method applies the paragraph style ParaStyleNo to the paragraph containing the caret and all the selected paragraphs.
If existing paragraphs are formatted with styles having rvpaoStyleProtect in their Options, this method does not change their styles.
Method type: editing-style.
If you want to implement commands like "change alignment", "increase indent" use ApplyParaStyleConversion instead.
See also properties:
See also methods:
See also:
▪TParaInfo.Options;