Hi!
I am using iText for creating pdf.
I am trying to set page size by using
document.setPageSize(PageSize.A3);
And
int PageScalingNone = 1 << 21;
pdfWriter.setViewerPreferences(PageScalingNone);
for pdf to A3, but failed to do so.
I also changes the size of rectangle
Rectangle pageSize = new Rectangle(792, 1152);
But no effect is happening on page size.
What need to be done?
Please suggest.
Regards,
Lokesh Kumar Singh
**************************************************************************************************************************************************
Email Disclaimer:
Information contained and transmitted by this e-mail is confidential,
proprietary, and legally privileged data of Tata Technologies that is
intended for use only by the addressee. If you are not the intended
recipient, you are notified that any dissemination, distribution, or
copying of this e-mail is strictly prohibited. You are requested to delete
this e-mail immediately and notify the originator. Any views expressed by
an individual do not necessarily reflect the view of Tata Technologies.
While this e-mail has been checked for all known viruses, the addressee
should also scan for viruses. Internet communications cannot be guaranteed
to be timely, secure, error or virus-free as information could be
intercepted, corrupted, lost, destroyed, arrive late or incomplete.Tata
Technologies does not accept liability for any errors or omissions. To know
more about Tata Technologies please visit http://www.tatatechnologies.com
************************************************************************************************************************************************
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar