Clears the document.
procedure Clear; virtual;
▪deletes all items;
This method does not change collections of text, paragraph and list styles. So, if your application adds styles while editing, call DeleteUnusedStyles after Clear.
Method type: generally, it's a viewer-style method, but it is special, because it clears all editing and displaying history. It is a starting method for document generation.
See also methods:
See also method of TRichViewEdit: