Click here to Skip to main content
Rate this: bad
good
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: 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 3-Oct-11 10:58am
hggfgh311
Edited 3-Oct-11 12:41pm
(no name)85.1K
v2

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

  Print Answers RSS
0 OriginalGriff 299
1 Maciej Los 295
2 Sergey Alexandrovich Kryukov 230
3 Aajmot Sk 191
4 Sinisa Hajnal 166
0 OriginalGriff 7,760
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,785


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 3 Oct 2011
Copyright © CodeProject, 1999-2014
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