Solved

Itextsharp  - get coordinates

Posted on 2014-01-20
1
2,102 Views
Last Modified: 2014-02-05
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
Comment
Question by:VBdotnet2005
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 500 total points
ID: 39798451
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

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scannerā€¦
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decadeā€¦

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question