|
<< Click to display table of contents >> TRVEditHelper.SetParaStyleToEditor |
Applies the ParaStyle properties listed in ValidParaProperties to the current selection in the AEditor editor.
procedure SetParaStyleToEditor(
AEditor: TCustomRichViewEdit);
Example: centering the selected paragraphs
RVEditHelper1.ParaStyle.Alignment := rvaCenter;
RVEditHelper1.ValidParaProperties := [rvpiAlignment];
RVEditHelper1.SetParaStyleToEditor(RichViewEdit1);