Cell Best Height problem with Print Preview

General TRichView support forum. Please post your questions here
Post Reply
DickBryant
Posts: 148
Joined: Wed Dec 07, 2005 2:02 pm
Contact:

Cell Best Height problem with Print Preview

Post by DickBryant »

Hi Sergey,

I've set the RichViewPixelsPerInch := 96 as you suggested. But when I set a cell's Best Height = 96*Page Height In Inches it appears to be about 30% larger than this in the Print preview screen. So if, for instance, I use VAlign = center the text appears to be significantly below the center rather than centered.

Do I need to set something else so that the height of the cell in printpreview will be accurate?

Dick
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, I am not completely understand you.
Can you send me a simple project reproducing the problem?
DickBryant
Posts: 148
Joined: Wed Dec 07, 2005 2:02 pm
Contact:

Post by DickBryant »

I have sent a .zip of a small project that demonstrates the problem to your e-mail address svt@trichview.com

Thanks
DickBryant
Posts: 148
Joined: Wed Dec 07, 2005 2:02 pm
Contact:

Post by DickBryant »

Image

Here's a screenshot from the actual application. The single cell was sized as PageWidth (8.5")*96 for BestHeight. The text was then centered in the table. As you can see, the PrintPreview shows the text well below center. The printed version matches the print preview.[/img]
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

It's because there are areas at the top and bottom of page where printers cannot print, they are not shown on the preview, explanations by e-mail.
Post Reply