Picture in PrintPreview

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

Picture in PrintPreview

Postby rmaster » February 27th, 2014, 2:51 pm

Hello,

sorry about my English. I have been using TPrintPreview component for years and it is absolutely perfect.
I have small problem with displaying pictures from RTF file.

In RTF file I have 5 pictures. I load RTF file to RichEdit1 and do this:

Code: Select all
PrintPreview1.ZoomState := zsZoomOther;
PrintPreview1.Zoom := 100;
PrintPreview1.BeginDoc;
PrintPreview1.PaintRichText(PageDialog, RichEdit1, 1, nil);
PrintPreview1.EndDoc;


It works but some pictures (in PrintPreview1) are little bit blurred.
In Attachments there is RTF file and screen, how it looks like.

I understand that if i change Zoom to 99 or 101, that it is blurred, but why if I set 100?
What is wrong?

Thank you.
Attachments
Example.zip
(99.33 KiB) Downloaded 75 times
rmaster
Member
Member
 
Posts: 3
Joined: August 30th, 2009, 10:19 am

Re: Picture in PrintPreview

Postby Kambiz » March 1st, 2014, 12:43 pm

Hello,

I am afraid that I cannot do anything about it. It is the rich edit control that renders the content on the preview canvas.
Maybe by using another third-party rich edit control you get a better result.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Re: Picture in PrintPreview

Postby rmaster » March 3rd, 2014, 8:44 am

OK, thank you.
rmaster
Member
Member
 
Posts: 3
Joined: August 30th, 2009, 10:19 am


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 19 guests

cron