Procedure TWPCustomRtfEdit.ClearEx(DontClearStyles:Boolean; DontResetPageSize:Boolean; ResetWritingAttr:Boolean)
Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit
Parameters
DontClearStyles:Boolean DontResetPageSize:Boolean ResetWritingAttr:Boolean
Description
This procedure cleares the text, optionally the styles can be kept.
Optionally the current writing mode can be reset, the font information of the
will be then applied. The current page size will remain unchanged if the flag
DontResetPageSize was set to true. (Also see wpDontResetPagesizeInNew in EditOptionsEx.)