public class TextOptions extends Object
An instance of TextOptions
class is used as parameter in Parser.getText(TextOptions)
and Parser.getText(int, TextOptions)
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:
Constructor and Description |
---|
TextOptions(boolean useRawModeIfPossible)
Initializes a new instance of the
TextOptions class. |
public TextOptions(boolean useRawModeIfPossible)
TextOptions
class.useRawModeIfPossible
- The value that indicates whether the raw mode is used.