TextDevice

TextDevice class

Represents class for converting pdf document pages into text.

The TextDevice type exposes the following members:

Constructors

NameDescription
TextDevice(extraction_options)Initializes a new instance of the TextDevice class
TextDevice()Initializes a new instance of the TextDevice with the Raw text formatting mode and Unicode text encoding.
TextDevice(encoding)Initializes a new instance of the TextDevice class
TextDevice(extraction_options, encoding)Initializes a new instance of the TextDevice class

Properties

NameDescription
extraction_optionsGets or sets text extraction options.
encodingGets or sets encoding of extracted text.

Methods

NameDescription
process(page, output)Convert page and save it as text stream.
process(page, output_file_name)Convert page and save it as text stream.

See Also