Click here to Skip to main content
15,884,628 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to use ItextSharp.dll to retrieve text from a pdf like: https://skydrive.live.com/redir.aspx?cid=4ec36228e06b7869&resid=4EC36228E06B7869!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
Updated 3-Oct-11 11:41am
v2

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900