Is it possible to do this with versions of iText that don't have PdfContentParser?
- Jeremy "Paulo Soares" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > You'll have to parse the content stream and interpret the commands. Class PdfContentParser can help you with that. You'll need the PDF reference, of course. > > Paulo > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Petter Nyström > > Sent: Tuesday, May 16, 2006 10:04 AM > > To: itext-questions@lists.sourceforge.net > > Subject: [iText-questions] Finding page position of an image > > > > How can I get the co-ordinates of a PdfObject / PdfStream on a page? > > > > I use iText for doing stuff with images in PDF documents. In > > iText I work > > with the images as PdfStreams. Looking through the API > > documentation, I > > see that the Image class holds data for the absolute position > > of an image. > > My question is how can I get that for a PdfStream? I suppose > > I somehow > > need to get in touch with the content stream in order to find out the > > position of a PdfObject, but can't find any hints in the docs. > > > > Thanks in advance, > > > > Petter > > > > > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web > > services, security? > > Get stuff done quickly with pre-integrated technology to make > > your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on > > Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > > dat=121642 > > _______________________________________________ > > iText-questions mailing list > > iText-questions@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/itext-questions > > > > > Aviso Legal: > Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. > > Disclaimer: > This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message. > > Rqyvyyzr}^yrmmzqmvxm zV F \?It ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions