Solved

Itextsharp  - get coordinates

Posted on 2014-01-20
1
1,989 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
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Media.Imaging 1 18
VB.net and sql server 4 35
VB.Net - MemoryMappedFiles - Confirm receipt 2 19
Need help with a Crystal Report in my C#.Net application 2 15
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

773 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