WPCubed Product Support

Copy formatted text from RichText to Richtext

How can I simply copy the formatted text from one WPRichText into another maintaining the formatting. I need the newly copied text to be appended to the bottom of the destination RichText, or at a specified location.

Thanks...

#1 ♥ 0
3.9k Views 2 users read 1 min
support

You can use this:

WPRichText2.CPPosition := MaxInt;
WPRichText2.SelectionAsAstring := WPRichText1.AsString;

or this

WPRichText2.SelectionAsAstring := WPRichText1.AsANSIString('WPTOOLS');

#2 ♥ 0
This category is archived. No new posts are possible.