Two Pilots™    Home  |  Navigation  |  Site Map  |  Products  |  Download  |  Prices  |  For Partners  |  Support


All forums · Statistics · Search ·

Two Pilots forum / For software developers / i want page size 7 inch x 10 inch
Author Message
Paritosh
Member
# Posted: 22 Nov 2005 07:33


I want page size with 7 inches x 10 inches.
Which properties should i use for this ?
according to me i must use pagewidth and pageheight.

i tried like this but it didnt work :

pdf.pagewidth=7
pdf.pageheight=10

Stanislav
# Posted: 22 Nov 2005 09:47


Dear Paritosh,

Default resolution of the PDF document is 72 dpi. So, to create 7 inches x 10 inches,
you should use following values.

PDF.PDFPAGE_Width = 504 ' 504 = 7 * 72
PDF.PDFPAGE_Height = 720 ' 720 = 10 * 72

Thank you very much !

Best regards,
Stanislav
Two Pilots

 

 

Powered by miniBB 2.0 RC7 © 2001-2004 Page creation time (sec.): 0.014

 

Page top