OptimizationOptions ClassByteScout PDF Extractor SDK
Represents PDF document optimizer.
Inheritance Hierarchy

SystemObject
  Bytescout.PDFExtractorOptimizationOptions

Namespace:  Bytescout.PDFExtractor
Assembly:  Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 12.0.0.4062-master
Syntax

public class OptimizationOptions : IOptimizationOptions

The OptimizationOptions type exposes the following members.

Constructors

  NameDescription
Public methodOptimizationOptions
Initializes a new instance of the OptimizationOptions class
Top
Properties

  NameDescription
Public propertyGrayscaleImages
Gets or sets whether to convert color images to grayscale. Default is false.
Public propertyImageOptimizationFormat
Gets or sets the compression format for image optimization.
Public propertyJPEGQuality
Gets or sets the quality of JPEG compressed images.
Public propertyResampleImages
Gets or sets whether to resample (resize) high-resolution images. Images with the resolution larger than ResamplingResolution will be resampled at ResamplingResolution. Default is true. Helps to optimize (reduce the file size) PDF documents containing high resolution scanned images (300DPI or more) at the expense of text sharpness.
Public propertyResamplingResolution
Resampling resolution. Default is 120 DPI. All images of higher resolution will be resampled to it.
Top
Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also

Reference