rvico TRichView Reference | TRichViewEdit

TCustomRichViewEdit.ApplyParaStyleConversion

Top  Previous  Next

Applies custom conversion procedure to styles of the selected paragraphs.

procedure ApplyParaStyleConversion(UserData: Integer);

(introduced in version 1.7)

This procedure calls OnParaStyleConversion event for each selected item. Using this method, you can implement commands like "change alignment" or "increase indent".

This method ignores any paragraph protection, it can change paragraph style even if rvpaoStyleProtect is included in Options of existing paragraphs' styles. If you want to respect paragraph style protection, check this option yourself in OnParaStyleConversion event.

Method type: editstyle editing-style.

Demo:

Demos\Delphi\Editors\Editor 2\
Demos\CBuilder\Editors\Editor 2\

See also:

ApplyStyleConversion;
ApplyParaStyle.

See also events:

OnParaStyleConversion.

See also:

Paragraphs overview.


RichView © Sergey Tkachenko