Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2602
  • Last Modified:

Itextsharp - get coordinates

Is there a way to get coordinates from the pdf using itextsharp when my text search is like "<<test>>"? I am looking for any string that has "<<>>".
0
VBdotnet2005
Asked:
VBdotnet2005
1 Solution
 
Karl Heinz KremerCommented:
As you probably know, iTextSharp is build on iText, so pretty much anything you can do in iText can be done in iTextSharp. Take a look at this iText sample, it shows how to extract text:

http://itextpdf.com/examples/iia.php?id=275

There is no find command in iText, so you have to parse the contents of the file yourself and compare against your search string.

Do you have iText in Action (the book)? If not, that's a good investment to get the most out of iText or iTextSharp.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now