com.groupdocs.conversion.options.convert

Class PdfOptimizationOptions

  • java.lang.Object
    • com.groupdocs.conversion.options.convert.PdfOptimizationOptions


  • public final class PdfOptimizationOptions
    extends Object

    Defines Pdf optimization options.

    • Constructor Detail

      • PdfOptimizationOptions

        public PdfOptimizationOptions()

        Initializes new instance of PdfOptimizationOptions class.

    • Method Detail

      • getLinkDuplicateStreams

        public final boolean getLinkDuplicateStreams()

        Link duplicate streams

      • setLinkDuplicateStreams

        public final void setLinkDuplicateStreams(boolean value)

        Link duplicate streams

      • getRemoveUnusedObjects

        public final boolean getRemoveUnusedObjects()

        Remove unused objects

      • setRemoveUnusedObjects

        public final void setRemoveUnusedObjects(boolean value)

        Remove unused objects

      • getRemoveUnusedStreams

        public final boolean getRemoveUnusedStreams()

        Remove unused streams

      • setRemoveUnusedStreams

        public final void setRemoveUnusedStreams(boolean value)

        Remove unused streams

      • getCompressImages

        public final boolean getCompressImages()

        If CompressImages set to true, all images in the document are recompressed. The compression is defined by the ImageQuality property.

      • setCompressImages

        public final void setCompressImages(boolean value)

        If CompressImages set to true, all images in the document are recompressed. The compression is defined by the ImageQuality property.

      • getImageQuality

        public final int getImageQuality()

        Value in percent where 100% is unchanged quality and image size. To decrease the image size set this property to less than 100

      • setImageQuality

        public final void setImageQuality(int value)

        Value in percent where 100% is unchanged quality and image size. To decrease the image size set this property to less than 100

      • getUnembedFonts

        public final boolean getUnembedFonts()

        Make fonts not embedded if set to true

      • setUnembedFonts

        public final void setUnembedFonts(boolean value)

        Make fonts not embedded if set to true