TextOptions

TextOptions class

Provides the options which are used for text extraction.

public sealed class TextOptions

Constructors

Name Description
TextOptions(bool) Initializes a new instance of the TextOptions class.
TextOptions(bool, bool) Initializes a new instance of the TextOptions class with the OCR usage option.
TextOptions(bool, bool, OcrOptions) Initializes a new instance of the TextOptions class with the ability to set OCR options.

Properties

Name Description
OcrOptions { get; } Gets the additional options for OCR functionality.
UseOcr { get; } Gets the value that indicates whether the OCR Connector is used to extract a text.
UseRawModeIfPossible { get; } Gets the value that indicates whether the raw mode is used.

Remarks

An instance of TextOptions class is used as parameter in GetText and GetText methods. See the usage examples there.

It’s used to specify the raw mode of text extraction. A text in this mode is extracted in a non-accurate way but faster than in the standard mode. If the raw mode doesn’t support the document format, then this parameter is ignored and the standard mode is used.

Learn more:

See Also