PdfOptimizationOptions

PdfOptimizationOptions class

Defines Pdf optimization options.

public sealed class PdfOptimizationOptions : ValueObject

Constructors

Name Description
PdfOptimizationOptions() Initializes new instance of PdfOptimizationOptions class.

Properties

Name Description
CompressImages { get; set; } If CompressImages set to true, all images in the document are re-compressed. The compression is defined by the ImageQuality property.
FontSubsetStrategy { get; set; } Set font subset strategy
ImageQuality { get; set; } Value in percent where 100% is unchanged quality and image size. To decrease the image size set this property to less than 100
LinkDuplicateStreams { get; set; } Link duplicate streams
RemoveUnusedObjects { get; set; } Remove unused objects
RemoveUnusedStreams { get; set; } Remove unused streams
UnembedFonts { get; set; } Make fonts not embedded if set to true

Methods

Name Description
override Equals(object) Determines whether two object instances are equal.
virtual Equals(ValueObject) Determines whether two object instances are equal.
override GetHashCode() Serves as the default hash function.

See Also