trichview.com

trichview.support




Unknown subject


Return to index


Author

Message

Benedikt Weber

Posted: 06/04/2002 12:13:50


I want to include a Chart in RichView. I make a metafile and insert it to

Richview. How can I calulate the width of the metafile so it fits on the

page when printing.


There was a similar question on this newsgroup, where you suggested to use

PrintAreaRect of OnPagePrepaint. However I would like to know that size

before printing. Of course it depends of the printer chosen, but I could

just use the default printer settings, or even a fixed size in Milimeters.

It sould probably be the width in screen cooridnates because it is scaled to

printer resolution when printing, as I understand.


Benedikt





Powered by ABC Amber Outlook Express Converter