PdfDocumentOptionsJpegCompressionLevel Property
Gets or sets the compression level of images in the PDF document generated by the HTML to PDF converter as an integer value between 0 and 100.
This property has effect only when the
JpegCompressionEnabled is true.
When the
JpegCompressionLevel is 0, the compression rate is the lowest and the quality of the images is the best.
When the
JpegCompressionLevel is 100, the compression rate is the highest and quality of the images in PDF is the worst.
The default JPEG compression level is 10, which should offer a good balance between the compression rate and
the quality of the images in PDF.
Namespace: EvoPdfAssembly: EvoHtmlToPdf_NetCore (in EvoHtmlToPdf_NetCore.dll) Version: 11.0.0
public int JpegCompressionLevel { get; set; }
Public Property JpegCompressionLevel As Integer
Get
Set
Property Value
Int32