General TRichView support forum. Please post your questions here
viperpix
Posts: 39 Joined: Sat Jan 15, 2011 9:38 am
Post
by viperpix » Sun May 22, 2011 8:11 am
How can i set a specify character to be identified as an image when i want to save the content of the RVE as Text in Stream?
for example chr(200) in place of each Picture in the RVE on resulting Plain Text.
viperpix
Posts: 39 Joined: Sat Jan 15, 2011 9:38 am
Post
by viperpix » Mon May 23, 2011 4:20 am
yes of curse but i dont wanna save the thext in a file, at least i can save it to stream...
viperpix
Posts: 39 Joined: Sat Jan 15, 2011 9:38 am
Post
by viperpix » Mon May 23, 2011 6:18 am
for example when using this kinda code:
rve.selectall;
s:=rve.getseltext;
i want to see the replaced character instead of pictures in resulting S
Sergey Tkachenko
Site Admin
Posts: 17559 Joined: Sat Aug 27, 2005 10:28 am
Contact:
Post
by Sergey Tkachenko » Mon May 23, 2011 5:25 pm
Unfortunately, the current version of TRichView does not save non-text objects to text when copying the Clipboard (it calls SaveTextToStream with the parameter TextOnly=True)...
viperpix
Posts: 39 Joined: Sat Jan 15, 2011 9:38 am
Post
by viperpix » Tue May 24, 2011 4:47 am
thanks btw sergey.