Aspose::Pdf::Text::TextExtractionOptions class

TextExtractionOptions class

Represents text extraction options.

class TextExtractionOptions : public Aspose::Pdf::Text::TextOptions

Enums

EnumDescription
TextFormattingModeDefines different modes which can be used while converting pdf document into text. See TextDevice class.

Methods

MethodDescription
get_FormattingMode() constGets formatting mode.
get_ScaleFactor() constGets factor that will be applied to scale font size during extraction in pure mode. Setting of less value leads to more spaces in the extracted text. Default value is 1 - no scaling; Setting value to zero allows algorithm choose scaling automatically.
set_FormattingMode(TextExtractionOptions::TextFormattingMode)Gets formatting mode.
set_ScaleFactor(double)Sets factor that will be applied to scale font size during extraction in pure mode. Setting of less value leads to more spaces in the extracted text. Default value is 1 - no scaling; Setting value to zero allows algorithm choose scaling automatically.
TextExtractionOptions(TextExtractionOptions::TextFormattingMode)Initializes new instance of the TextExtractionOptions object for the specified text formatting mode.

See Also