Reading PDF File in order(left to right)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Reading PDF File in order(left to right)

Santosh Kumar Dash
Hi All,

i am trying to read a pdf file in a given location and generate a PDF with the contol id's displayed in the respective controls by using itextsharp.

i am able to get the contol id's but not in the order they are zumbled.....
is there any way to get the control id's in the order from left to right as in the PDF..... using itextsharp

below is the code for reading the PDF using itextsharp:

PdfStamper pdfStamper = new PdfStamper(pdfReader, new FileStream(outputPdfPath, FileMode.Create));
        TextWriter textWriter = new StreamWriter(outputTextPath);
        AcroFields sourceAcroFields = pdfReader.AcroFields;
        AcroFields destinationAcroFields = pdfStamper.AcroFields;

i want to get the control id's in the order one after the other in a sequence as in PDF...

 guide me....

Thanks  
Loading...