PageExtractText Method (Resolution, TextExtractionOptions, Boolean)

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Extracts text from the page.

Namespace:  Apitron.PDF.Kit.FixedLayout
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public string ExtractText(
	Resolution desiredResolution,
	TextExtractionOptions options = TextExtractionOptions.RawText,
	bool processBiDiText = false
)

Parameters

desiredResolution
Type: Apitron.PDF.Kit.ConfigurationResolution
The desired resolution of the extracted text.
options (Optional)
Type: Apitron.PDF.Kit.ExtractionTextExtractionOptions
Text extraction options.
processBiDiText (Optional)
Type: SystemBoolean
Text extraction algorithm will try to detect and reorder bi-directional strings. Meaningfull only for: FormattedText,HtmlFragment, HtmlPage

Return Value

Type: String
Text of the page.
Remarks

If page is not saved yet, empty string will be returned see Save. In evaluation mode only the first 50% of the text will be returned.
See Also

Reference