trichview.com

trichview.support




Re: Margins


Return to index


Author

Message

Sergey Tkachenko

Posted: 06/10/2003 22:32:45


SizeInPixels = Round(SizeInTwips*PixelsPerInch/1440)


PixelsPerInch can be obtained as Screen.PixelsPerInch (or you can use the

fixed value of 96, you want results independent of "small fonts"/"large

fonts" mode)





> In text controls we had to define our margins in twips. Below is the code

> that would convert my margins to twips. How can I define my margins in

> fractions within trichview? Also, how can I define my page width and

height?






Powered by ABC Amber Outlook Express Converter