public class

Optimizer

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

Summary

Nested Classes
class Optimizer.ImageSettings A class that stores downsampling/recompression settings for color and grayscale images. 
class Optimizer.MonoImageSettings A class that stores image downsampling/recompression settings for monochrome images. 
class Optimizer.OptimizerSettings A class that stores settings for the optimizer  
class Optimizer.TextSettings A class that stores text optimization settings. 
Public Methods
static void optimize(PDFDoc doc, Optimizer.OptimizerSettings optimizer_settings)
Optimize the given document using the optimizers settings
static void optimize(PDFDoc doc)
Optimize the given document.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static void optimize (PDFDoc doc, Optimizer.OptimizerSettings optimizer_settings)

Optimize the given document using the optimizers settings

Parameters
doc the document to optimize
optimizer_settings optimizer settings

public static void optimize (PDFDoc doc)

Optimize the given document.

Parameters
doc the document to optimize