Show / Hide Table of Contents

Class Optimizer.OptimizerSettings

A class that stores settings for the optimizer

Inheritance
System.Object
Optimizer.OptimizerSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: pdftron.PDF
Assembly: PDFNet.dll
Syntax
public class OptimizerSettings

Constructors

OptimizerSettings()

create an OptimizerSettings object with default options

Declaration
public OptimizerSettings()

Methods

RemoveCustomEntries(Boolean)

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
System.Boolean should_remove

if true custom entries will be removed.

SetColorImageSettings(Optimizer.ImageSettings)

updates the settings for color image processing

Declaration
public void SetColorImageSettings(Optimizer.ImageSettings settings)
Parameters
Type Name Description
Optimizer.ImageSettings settings

SetGrayscaleImageSettings(Optimizer.ImageSettings)

updates the settings for grayscale image processing

Declaration
public void SetGrayscaleImageSettings(Optimizer.ImageSettings settings)
Parameters
Type Name Description
Optimizer.ImageSettings settings

SetMonoImageSettings(Optimizer.MonoImageSettings)

updates the settings for monochrome image processing

Declaration
public void SetMonoImageSettings(Optimizer.MonoImageSettings settings)
Parameters
Type Name Description
Optimizer.MonoImageSettings settings

SetTextSettings(Optimizer.TextSettings)

updates the settings for text processing

Declaration
public void SetTextSettings(Optimizer.TextSettings settings)
Parameters
Type Name Description
Optimizer.TextSettings settings
Back to top Generated by DocFX