 |
PdfDocumentJpegCompressionEnabled Property |
Gets or sets a flag indicating if JPEG compression is applied to the images in the
generated pdf document. Default is true.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntaxpublic bool JpegCompressionEnabled { get; set; }Public Property JpegCompressionEnabled As Boolean
Get
Set
Property Value
Boolean
Remarks
How the compression is applied depends on how the document was produced:
- Documents produced by HtmlToPdf: the Chromium-rendered
bytes are compressed once during conversion, using
JpegCompressionEnabled /
JpegCompressionLevel. The values are reflected onto
this property for inspection; changing them on the output document has no effect.
See Also