|
PdfDocumentJpegCompressionEnabled Property |
Gets or sets a flag indicating if the JPEG compression is enabled or not for the images in the generated pdf document.
Namespace:
SelectPdf
Assembly:
Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 24.1
Syntax public bool JpegCompressionEnabled { get; set; }
Public Property JpegCompressionEnabled As Boolean
Get
Set
Property Value
Type:
BooleanRemarks
By default the JPEG compression is enabled to reduce the size of the generated pdf document. When the JPEG compression is enabled
the quality of the images in the generated pdf is lower than the quality of the original images from the web page,
and this quality depends on the
JpegCompressionLevel parameter. When the
JpegCompressionLevel is increased, the quality of the images in pdf decreases.
See Also