| View previous topic :: View next topic |
| Author |
Message |
flydragon Member
Joined: 16 Jun 2004 Posts: 6
|
Posted: 08/04/05 10:15 Post subject: TPrintPreview visualization problems |
|
|
Hello!
I loaded into TPrintPreview a very big file rtf
(more than 1000 pages)...
and when I PaintRichText, the result is a rtf code instead a correct document.
Something like:
"{\rtf1\ansi\ansicpg1252\uc1\de..."
At first time I thought that the PlainText property of RichEdit was true, but it was false!
Probably the file is corrupt (I thought), but the file is correct, because if I save it to file from RichEdit and open with WordPad, the document is perfect.
I don't have more ideas...
Did someone ever seen this problem?
Tanks,
^-flydragon-^
ps: 800MHz, 256MB RAM, WinNT |
|
| Back to top |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 430 Location: Tehran, Iran
|
Posted: 17/04/05 21:12 Post subject: |
|
|
| Did you try it with RichPrint demo? |
|
| Back to top |
|
 |
flydragon Member
Joined: 16 Jun 2004 Posts: 6
|
Posted: 18/04/05 11:14 Post subject: |
|
|
thanks for your suggestion!
I found the reason of the problem:
the RichEdit.
I don't know why the RichEdit doesn't work correctly in my program or in with my document.
I found a new RichEdit that show me exactly my document correctly into TPrintPreview.
Therefore the TPrintPreview has no one bug!
Thanks by the way!
^-flydragon-^ |
|
| Back to top |
|
 |
|