Click or drag to resize
Pdf Library for .NET

PdfCompressorImagesCompressionLevel Property

Gets or sets the compression level of images in the generated pdf document. This is a value between 0 - no compression, 100 - best compression.

Namespace:  SelectPdf.Compressor
Assembly:  Select.Pdf.Extras (in Select.Pdf.Extras.dll) Version: 23.1
Syntax
public int ImagesCompressionLevel { get; set; }

Property Value

Type: Int32
Remarks
This property can take values between 0 and 100. It has effect only when the ImagesCompressionEnabled is set to true. When the ImagesCompressionLevel is 0, the compression rate is the lowest and the quality of the images is the best. When the ImagesCompressionLevel is 100, the compression rate is the highest and quality of the images in PDF is the worst.

The default images compression level is 20.

See Also