com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class TextExtractionOptions



  • public final class TextExtractionOptions
    extends TextOptions

    Represents text extraction options

    • Constructor Detail

      • TextExtractionOptions

        public TextExtractionOptions(int formattingMode)

        Initializes new instance of the TextExtractionOptions object for the specified text formatting mode.

        Parameters:
        formattingMode - Text formatting mode value.
    • Method Detail

      • getScaleFactor

        public double getScaleFactor()

        Gets 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.

        Returns:
        double value
      • setScaleFactor

        public void setScaleFactor(double value)

        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.

        Parameters:
        value - double value