Solved

Itextsharp  - get coordinates

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to remove duplicate code from my project 5 47
PowerShell:  Column widths won't expand 3 46
Problem to Office 1 39
Nested forach loop to linq 3 24
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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 …

680 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