|
-
Mar 7th, 2017, 09:57 PM
#5
Re: A few strange questions about RichTextBox ?
 Originally Posted by dilettante
Actually I shouldn't have lumped 1 & 4 together.
Problem 1 is a limitation of the RichTextBox wrapping an old-style RichEdit control. Using a version 4.1 RichEdit might address it but I think somebody else already said that it doesn't over in the other thread.
Rich Edit version 4.1 shows some Chinese characters over (outside) the picture of question 3, also a couple of Chinese characters over the figures of questions 1 and 2 that I can not see in the original (opening the rtf file with Word).
Besides that, it has the same problems described in the "Problem 1" point of the OP, as Rich Edit version 1 also has.
The same can be seen opening the file with Wordpad, it seems that Wordpad (on XP) uses Rich Edit Version 4.1 (it changes the letters color, the circle is jagged, Etc.)
All that tested on Window XP.
In the image that dilettante posted, I see that the Chinese characters as displayed properly inside the figure of question 3, I don't get that on XP, not even with Wordpad.
Word uses some RTF codes that are not supported by the Rich Edit: http://www.biblioscape.com/rtf15_spec.htm
So, if someone thought that anything that can be displayed in Word could also be passed to a RichTextBox, this approach was mistaken from the start.
If the requirement is that anything that the user can see on the screen he needs to be able to save it to a database, then I suggest:
1) Capture that part of the screen and save that picture.
2) Print it with a PDF printer driver and save the PDF file.
I think these two options were already suggested by others in the other thread.
3) Use and OLE container and save in Word format.
Last edited by Eduardo-; Mar 7th, 2017 at 11:07 PM.
Reason: added option 3)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|