How to extract text from a specific area of an existing PDF document.The following code extracts text from a specific region on a PDF page. c# sample: PDFOperation op = new PDFOperation("sample.pdf", ""); int pageNumber = 1; string text = op.ExtractText(pageNumber, new RectangleF(880, 740, 120, 20), UnitOfMeasure.Pixel); op.Close(); Console.WriteLine(text); |
PDF .NET Library for .NET Software Developers - PDF Component Library for C#, VB.NET and ASP.NET developers Copyright © PDF Technologies Inc., 2011. |