trichview.com

trichview.support




Re: Size of document.


Return to index


Author

Message

Sergey Tkachenko

Posted: 10/09/2002 11:19:01


If there are no "no-wrap" paragraphs, width of document is a width of the

widest picture/control/table.

If table BestWidth<0 (measured in percents), width of this document depends

on width of control's window.


If width is measured in pixels, you can convert pixels to cm:


inches := pixels / Screen.PixelsPerInch; // floating point value

cm = inches * 2.54; // floating point value


But, as you can see, this value depends on Screen.PixelsPerInch.

PixelsPerInch can different for different screen modes (small fonts/large

fonts modes)


>

> Hello,

> How can I know the size in centimeters of one document with table?

>





Powered by ABC Amber Outlook Express Converter