<< Click to display table of contents >>


Reformats the document.

Only formatted documents can be displayed or edited.

procedure Reformat;

(introduced in v1.9)

This method works like Format, but keeps the selection (and caret position in TRichViewEdit).

Document must be formatted before calling this method.

This method is useful, for example, if you want to reformat document after changing margins.