com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class RenderingOptions



  • public final class RenderingOptions
    extends Object

    Represents rendering options

    • Constructor Detail

      • RenderingOptions

        public RenderingOptions()

        Initializes new instance of the RenderingOptions object.

    • Method Detail

      • getBarcodeOptimization

        public boolean getBarcodeOptimization()

        Gets barcode optimization mode.

        Returns:
        boolean value
      • setBarcodeOptimization

        public void setBarcodeOptimization(boolean value)

        Sets barcode optimization mode.

        Parameters:
        value - boolean value
      • getSystemFontsNativeRendering

        public boolean getSystemFontsNativeRendering()

        Gets a mode where system fonts are rendered natively

        Returns:
        boolean value
      • setSystemFontsNativeRendering

        public void setSystemFontsNativeRendering(boolean value)

        Sets a mode where system fonts are rendered natively

        Parameters:
        value - boolean value
      • getUseNewImagingEngine

        public boolean getUseNewImagingEngine()

        Gets a flag determines whether new imaging engine is used or not.

        Returns:
        boolean value
      • setUseNewImagingEngine

        public void setUseNewImagingEngine(boolean value)

        Sets a flag determines whether new imaging engine is used or not.

        Parameters:
        value - boolean value
      • getWidthExtraUnits

        public float getWidthExtraUnits()

        Gets or sets a value used to increase or decrease the width of rectangle for AppendRectangle operator.

        Returns:
        float value
      • setWidthExtraUnits

        public void setWidthExtraUnits(float value)

        Gets or sets a value used to increase or decrease the width of rectangle for AppendRectangle operator.

        Parameters:
        value - float value
      • getConvertFontsToUnicodeTTF

        public boolean getConvertFontsToUnicodeTTF()

        Indicates that all fonts will be converted to TTF unicode versions. That is useful for compatibility reasons and to optimize font usage, cause every new TTF font will have not all the symbols from source font, but only symbols which are used in text.

        Returns:
        boolean value
      • setConvertFontsToUnicodeTTF

        public void setConvertFontsToUnicodeTTF(boolean value)

        Indicates that all fonts will be converted to TTF unicode versions. That is useful for compatibility reasons and to optimize font usage, cause every new TTF font will have not all the symbols from source font, but only symbols which are used in text.

        Parameters:
        value - boolean value
      • getUseFontHinting

        public boolean getUseFontHinting()

        Usage of this flag turn on font hinting mechanism. Font hinting is the use of mathematical instructions to adjust the display of an outline font. In some cases turning this flag on may solve problems with text legibility. At current moment usage of this flag could give effect only for TTF fonts, if these fonts are used in source document.

        Returns:
        boolean value
      • setUseFontHinting

        public void setUseFontHinting(boolean value)

        Usage of this flag turn on font hinting mechanism. Font hinting is the use of mathematical instructions to adjust the display of an outline font. In some cases turning this flag on may solve problems with text legibility. At current moment usage of this flag could give effect only for TTF fonts, if these fonts are used in source document.

        Parameters:
        value - boolean value
      • getScaleImagesToFitPageWidth

        public boolean getScaleImagesToFitPageWidth()

        Gets or sets a values used to scale all images on the page to fit page's width.

        Returns:
        boolean value
      • setScaleImagesToFitPageWidth

        public void setScaleImagesToFitPageWidth(boolean value)

        Gets or sets a values used to scale all images on the page to fit page's width.

        Parameters:
        value - boolean value
      • getInterpolationHighQuality

        public boolean getInterpolationHighQuality()

        Gets or sets high quality mode for interpolation.

        Returns:
        boolean value
      • setInterpolationHighQuality

        public void setInterpolationHighQuality(boolean value)

        Gets or sets high quality mode for interpolation.

        Parameters:
        value - boolean value