Solved

Itextsharp  - get coordinates

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now