Procedure TWPCustomRtfEdit.Clear
Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit
Description
This procedure erases the complete text buffer (
WPRichText1.Clear;
WPRichText1.ActiveText:= WPRichText1.HeaderFooter.Get(wpIsHeader,wpraOnAllPages,'');
WPRichText1.TableAdd(4,4,[wptblActivateBorders]);
WPRichText1.DisplayedText := WPRichText1.BodyText;
The Clear procedure will also delete all styles. If you need to keep those use
This function should not be called when you are working with a shared TWPRTFProps object.