## Picture in PrintPreview

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

### Picture in PrintPreview

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
rmaster
Member

Posts: 3
Joined: August 30th, 2009, 10:19 am

### Re: Picture in PrintPreview

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

Kambiz

Posts: 2430
Joined: March 7th, 2003, 7:10 pm

### Re: Picture in PrintPreview

OK, thank you.
rmaster
Member

Posts: 3
Joined: August 30th, 2009, 10:19 am