Click or drag to resize

TextExtractorGetAsText Method (Boolean)

Get all words in the current selection as a single string.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public string GetAsText(
	bool dehyphen
)

Parameters

dehyphen
Type: SystemBoolean
If true, finds and removes hyphens that split words across two lines. Hyphens are often used a the end of lines as an indicator that a word spans two lines. Hyphen detection enables removal of hyphen Character and merging of text runs to form a single word. This option has no effect on Tagged PDF files.

Return Value

Type: String
The string containing all words in the current selection. Words will be separated with space (i.e. ' ') or new line (i.e. '\n') Characters.
See Also