<< Click to display table of contents >> TCustomRichView.Format |
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, TRichView 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:
▪Reformat.
See also properties:
▪ Options.
See also: