Click or drag to resize
Pdf Library for .NET

PdfDocumentJpegCompressionLevel Property

Gets or sets the JPEG compression level for images in the generated pdf document. Value range: 0 (lowest compression, best quality) to 100 (highest compression, worst quality). Only effective when JpegCompressionEnabled is true. Default is 10.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public int JpegCompressionLevel { get; set; }

Property Value

Int32
Remarks
Setting this property is a no-op on documents produced by HtmlToPdf — use JpegCompressionLevel before conversion instead.
See Also