Class Optimizer.OptimizerSettings
A class that stores settings
for the optimizer
Inheritance
Optimizer.OptimizerSettings
Assembly: PDFNet.dll
Syntax
public class Optimizer.OptimizerSettings
Constructors
OptimizerSettings()
create an OptimizerSettings object with default options
Declaration
public OptimizerSettings()
Methods
RemoveCustomEntries(bool)
Enable or disable removal of custom entries in the PDF. By default custom entries are removed.
Declaration
public void RemoveCustomEntries(bool should_remove)
Parameters
Type |
Name |
Description |
bool |
should_remove |
if true custom entries will be removed.
|
SetColorImageSettings(ImageSettings)
Declaration
public void SetColorImageSettings(Optimizer.ImageSettings settings)
Parameters
SetGrayscaleImageSettings(ImageSettings)
Declaration
public void SetGrayscaleImageSettings(Optimizer.ImageSettings settings)
Parameters
SetMonoImageSettings(MonoImageSettings)
Declaration
public void SetMonoImageSettings(Optimizer.MonoImageSettings settings)
Parameters
SetTextSettings(TextSettings)
Declaration
public void SetTextSettings(Optimizer.TextSettings settings)
Parameters