Page 1 of 1

Picture in PrintPreview

PostPosted: February 27th, 2014, 2:51 pm
by rmaster
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.

Re: Picture in PrintPreview

PostPosted: March 1st, 2014, 12:43 pm
by Kambiz
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.

Re: Picture in PrintPreview

PostPosted: March 3rd, 2014, 8:44 am
by rmaster
OK, thank you.