public static class

Optimizer.OptimizerSettings

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.Optimizer.OptimizerSettings

Class Overview

A class that stores settings for the optimizer

Summary

Public Constructors
OptimizerSettings()
create an OptimizerSettings object with default options
Public Methods
void removeCustomEntries(boolean remove_custom)
Enable or disable removal of custom entries in the PDF.
void setColorImageSettings(Optimizer.ImageSettings settings)
updates the settings for color image processing
void setGrayscaleImageSettings(Optimizer.ImageSettings settings)
updates the settings for grayscale image processing
void setMonoImageSettings(Optimizer.MonoImageSettings settings)
updates the settings for monochrome image processing
void setTextSettings(Optimizer.TextSettings settings)
updates the settings for text processing
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public OptimizerSettings ()

create an OptimizerSettings object with default options

Public Methods

public void removeCustomEntries (boolean remove_custom)

Enable or disable removal of custom entries in the PDF. By default custom entries are removed.

Parameters
remove_custom if true custom entries will be removed.

public void setColorImageSettings (Optimizer.ImageSettings settings)

updates the settings for color image processing

public void setGrayscaleImageSettings (Optimizer.ImageSettings settings)

updates the settings for grayscale image processing

public void setMonoImageSettings (Optimizer.MonoImageSettings settings)

updates the settings for monochrome image processing

public void setTextSettings (Optimizer.TextSettings settings)

updates the settings for text processing