rvico TRichView Reference | TRichView

TCustomRichView.Format

Top  Previous  Next

Formats the document. Only formatted documents can be displayed or edited.

procedure Format;

If rvoFormatInvalidate in Options (default), this method also repaints RichView.

You need to call this method after you modified document (using any of viewer-style methods), its text or paragraph styles.

When resized, RichView is reformatted automatically.

Most of methods of RichViewEdit automatically quickly reformat the affected part of the document, but you still need this method in RichViewEdit when you use methods inherited from RichView (viewer-style methods).

 

See also methods:

FormatTail;

Reformat.

See also properties:

Options.

See also:

Building document.


TRichView © trichview.com