Click here to Skip to main content
12,065,756 members (27,991 online)
Rate this:
Please Sign up or sign in to vote.
See more: PDF
I am trying to use ItextSharp.dll to retrieve text from a pdf like:!102&authkey=rwKXNYKtO20%24[^]

I decided to use ITextSharpExtractionStrategy interface. In RenderText method I am getting Text Chunk with its location. Problem appears to be in the first row of table data. Instead of every single number (3,1,1,1,1,3 from each column) render info returns joined text = "311113" from next six column.
The question is how can I get information that every character from string "311113" is different row which belongs to different column.
The only thing I've found interesting is that Charspacing for this text chunk is set to 5.16. But distance e.g between 3 an 1 is approximately 35 not 5.

Thanks for your answers.
Best regards
Posted 3-Oct-11 10:58am
Edited 3-Oct-11 12:41pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.160207.1 | Last Updated 3 Oct 2011
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100