Clear Method

[Top]  [Chapter]  [Previous]  [Next]

Clears the text buffer


void Clear([In] bool KeepHeaderFooter, [In] bool KeepStyles);


This method clears the text, optionally the header/footer texts and/or the styles can be kept.


If you used memo.RTFDataSelect("SOME_NAME") to select a different RTF data block earlier in the program, you need to call memo.RTFDataSelect("@@FIRST@@") to select the default RTF data block to make sure the editor is in default state again.

[idh_iwpmemo_clear.htm]    Copyright © 2007 by WPCubed GmbH