DURGA PRASAD wrote:
Hi all,
I am generating a pdf document using the i-Text PDF Writer API.My requirement says the print dialog should appear with default properties as LEGAL and LANDSCAPE. I have set the page to LANDSCAPE successfully using "PageSize.rotate()" method. But i am in a fix about setting the property to LEGAL paper. Can anyone help me out with some sample code for it.
Use PageSize.LEGAL or PageSize.LEGAL.rotate(); http://itext.sourceforge.net/docs/com/lowagie/text/PageSize.html#LEGAL br, Bruno
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
