Class Optimizer.OptimizerSettings
A class that stores settings
for the optimizer
Inheritance
Optimizer.OptimizerSettings
Assembly: PDFTronDotNet.dll
Syntax
public class Optimizer.OptimizerSettings
Constructors
OptimizerSettings()
create an OptimizerSettings object with default options
Declaration
public OptimizerSettings()
Properties
m_color_image_settings
Declaration
public Optimizer.ImageSettings m_color_image_settings { get; set; }
Property Value
m_grayscale_image_settings
Declaration
public Optimizer.ImageSettings m_grayscale_image_settings { get; set; }
Property Value
m_mono_image_settings
Declaration
public Optimizer.MonoImageSettings m_mono_image_settings { get; set; }
Property Value
m_remove_custom
Declaration
public bool m_remove_custom { get; set; }
Property Value
m_text_settings
Declaration
public Optimizer.TextSettings m_text_settings { get; set; }
Property Value
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)
updates the settings for color image processing
Declaration
public void SetColorImageSettings(Optimizer.ImageSettings settings)
Parameters
SetGrayscaleImageSettings(ImageSettings)
updates the settings for grayscale image processing
Declaration
public void SetGrayscaleImageSettings(Optimizer.ImageSettings settings)
Parameters
SetMonoImageSettings(MonoImageSettings)
updates the settings for monochrome image processing
Declaration
public void SetMonoImageSettings(Optimizer.MonoImageSettings settings)
Parameters
SetTextSettings(TextSettings)
updates the settings for text processing
Declaration
public void SetTextSettings(Optimizer.TextSettings settings)
Parameters