Hi Paulo, Thanks a lot for your reply. Actually this was the problem we were facing .
Regards, Firoz ----- Original Message ----- From: "Paulo Soares" <[EMAIL PROTECTED]> To: "Firoz" <[EMAIL PROTECTED]>; <itext-questions@lists.sourceforge.net> Cc: "Slathif" <[EMAIL PROTECTED]> Sent: Tuesday, May 24, 2005 6:51 PM Subject: RE: [iText-questions] Error while adding one PDF to another PDF If you are referring to input.pdf it's a file like any other. What you cannot assume is that the mediabox rectangle is [0,0,w,h]. In this case it's [-612,-0.00003,0,792]. It's unusual but it happens and it's legal. > -----Original Message----- > From: Firoz [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 24, 2005 12:44 PM > To: Paulo Soares; itext-questions@lists.sourceforge.net > Cc: Slathif > Subject: Re: [iText-questions] Error while adding one PDF to > another PDF > > Hi Paulo, > > We have a huge set of PDFs that we have to automate. Only a > couple of them > are giving us trouble. Is there any way to tell, dynamically, > what is wrong > with the PDF and if necessary I can use the AffineTransform class as > suggested. > > Thanks a lot for your reply. > Regards > Firoz > > > > ----- Original Message ----- > From: "Paulo Soares" <[EMAIL PROTECTED]> > To: "Firoz" <[EMAIL PROTECTED]>; > <itext-questions@lists.sourceforge.net> > Sent: Tuesday, May 24, 2005 4:11 PM > Subject: RE: [iText-questions] Error while adding one PDF to > another PDF > > > It might be easier to do all those math translation/rotation with the > AffineTransform class. > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Firoz > > Sent: Tuesday, May 24, 2005 7:54 AM > > To: itext-questions@lists.sourceforge.net > > Cc: Shahzad Latif > > Subject: [iText-questions] Error while adding one PDF to another PDF > > Importance: High > > > > Hi, > > > > My name is Firoz. I am trying to center a pdf (input pdf) to > > another blank pdf using iText. > > > > First i am creating a blank pdf document, then extracing the > > first page of the input pdf and then adds it to the blank > > pdf. But the output is still a blank (my input is having some > > graphics ). If I specify a rotation of 180 degree, while > > adding the input pdf, then the ouput is perfect(having a > > rotation of 180 degree). > > > > I am attaching the code snipplet( its only few lines ) and > > input pdf i am using. > > > > can anybody please tell me what is wrong with my code / input pdf. > > > > Thanks in advance for your time & help. > > > > Regards, > > > > Firoz > > > > ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions