PdfExportOptions.ConvertImagesToJpeg Property
Specifies whether or not all bitmaps contained in the document should be converted to JPEG format during exporting to PDF.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v19.1.Core.dll
Declaration
[DefaultValue(true)]
[XtraSerializableProperty]
public bool ConvertImagesToJpeg { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | **true** | true to convert images to JPEG; otherwise false. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to ConvertImagesToJpeg |
---|---|---|
Cross-Platform Class Library | ExportOptions |
|
WinForms Controls | DiagramOptionsExport |
|
WPF Controls | DiagramControl |
|
DiagramDesignerControl |
|
|
ExportOptionsContainer |
|
Remarks
Use the ConvertImagesToJpeg property, to reduce the size of the resulting PDF document by compressing the original images to JPEG.
When this option is enabled, the document bitmaps will be converted to JPEG only if their estimated resulting size is expected to decrease.
To further reduce the file size by degrading the quality of embedded images, use the PdfExportOptions.ImageQuality property.
See Also