Table of Contents

Method GetText

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

GetText()

Retrieves all text drawn on the page in plain text format.

public string GetText()

Returns

string

All text drawn on the page in plain text format.

Remarks

Bidirectional and right-to-left text is returned according to the logical order.

Unicode code points from Arabic and Hebrew presentation forms are normalized to the Normalization Form KC.

Read the Extract text from PDF in C# and VB.NET article and the Split PDF by condition section for examples of using this method.

GetText(PdfTextExtractionOptions)

Retrieves all text drawn on the page according to specified options.

public string GetText(PdfTextExtractionOptions options)

Parameters

options PdfTextExtractionOptions

The text extraction options.

Returns

string

All text drawn on the page according to specified options.

Remarks

Bidirectional and right-to-left text is returned according to the logical order.

Unicode code points from Arabic and Hebrew presentation forms are normalized to the Normalization Form KC.

Read the Extract text from PDF in C# and VB.NET article and the Split PDF by condition section for more information about text extraction.