Click or drag to resize
Pdf Library for .NET

PdfToTextGetText Method

Returns all the text in the document (respecting StartPageNumber / EndPageNumber).

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public string GetText()

Return Value

String
The extracted text of the document.
Example
PdfToText tool = new PdfToText();
tool.Load("document.pdf");
string text = tool.GetText();
tool.Close();
See Also