Normally what i do is find page height and width and if width > height i determine it is landscape else it is potriat and do the processing od Doc accordingly VJ
On Fri, 4 Mar 2005 10:24:28 -0000, Paulo Soares <[EMAIL PROTECTED]> wrote: > PdfReader.getPageRotation() will get you the portrait/landscape info but > you probably won't need it in PdfStamper. > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of AMOL > > Sent: Thursday, March 03, 2005 9:57 PM > > To: [email protected] > > Subject: [iText-questions] Landscape or Portrait > > > > > > Hello > > Well i m dealing with a layout problem > > > > Scenario:I am creating overlay watermark pdf > > (XML->XSL-FO->PDF) to overlay it on source PDF document. > > Now i can have my source document either Portarit or > > Landscape....and accordingly I have to create watermark PDF. > > I am using jdk1.3.1,itext and fop(for XSL-Fo to PDF Convesion). > > Can itext provide any api by which i can get the page layout > > dynamically? > > Any help in this context will be greatly appreciated. > > Thnaks > > Ams > > > > > > > > <http://clients.rediff.com/signature/track_sig.asp> > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&opclick > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
