Skip to content
Branch: master
Find file History
Latest commit 88539df Dec 23, 2017
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
C# Added Text sample codes Dec 23, 2017
VB.NET
README.md

README.md

Extract text

This sample shows how to extract text from a page or from entire PDF document.

Use PdfDocument.GetText() or PdfPage.GetText() methods to extract text in plain text format. You can also use PdfCanvas.GetTextData() method to extract text chunks with their coordinates.

Alternative methods are PdfDocument.GetTextWithFormatting() and PdfPage.GetTextWithFormatting(). These methods will extract text with formatting. Formatting means that all relative text positions will be kept after extraction and text will look more readable. Extracting text with formatting may be especially useful for PDF documents with tabular data.

You can’t perform that action at this time.