Hi Tilman, Thanks much for looking into this. Uploaded the "Shape.pdf" at the following location. https://drive.google.com/file/d/1VZVJ37eProWngHBUZIArc7cFJcvtORAT/view
This is not one time, we need to a generic solution for any such file. Can you please check this PDF document available at above location and let me know on the solution. Thanks -Satya > -----Original Message----- > From: Tilman Hausherr [mailto:[email protected]] > Sent: Wednesday, November 22, 2017 11:20 PM > To: [email protected] > Subject: Re: How to retrieve rectangle bounds for Shape element in the PDF > document > > Hi, > > The PDF attachment didn't get through. Please upload it somewhere. I'm > reluctant to open a word file. > > If the shape is vector graphics then there is no easy method. If this is a > one time only, then open the file with PDFDebugger command line app and move > the mouse around and look at the coordinates shown in the corner. > > Tilman > > Am 22.11.2017 um 13:42 schrieb S S Satyanarayana Damarla: >> >> Hi, >> >> I have attached a PDF document "*Shape.pdf*" which contains a Shape >> element. This PDF document is originally converted from the Word >> document "Shape.docx" (attached) into PDF using Microsoft Word >> Application. >> >> For our project, we need the ability to retrieve rectangle bounds for >> the Shape present in the attached PDF document "Shape.pdf". This shape >> is not recognized as image object (PDImageXObject). Looks like it is >> embedded in the content stream. >> >> Appreciate if you can help me with a sample code in retrieving >> rectangle bounds for the shape present in the attached PDF document. >> >> Thanks, >> >> -Satya >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

