PdfExportOptions.ConvertImagesToJpeg Property

Specifies whether to convert the images contained in the document to JPEG format during the export to PDF.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v20.1.Core.dll

Declaration

[DefaultValue(true)]
public bool ConvertImagesToJpeg { get; set; }
<DefaultValue(True)>
Public Property ConvertImagesToJpeg As Boolean

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:

Show 16 property paths
Library Object Type Path to ConvertImagesToJpeg
Cross-Platform Class Library RemotePrintingSystem
.ExportOptions.Pdf.ConvertImagesToJpeg
ExportOptions
.Pdf.ConvertImagesToJpeg
PrintingSystemBase
.ExportOptions.Pdf.ConvertImagesToJpeg
WinForms Controls DiagramControl
.OptionsExport.PdfExportOptions.ConvertImagesToJpeg
DiagramOptionsExport
.PdfExportOptions.ConvertImagesToJpeg
PrintingSystem
.ExportOptions.Pdf.ConvertImagesToJpeg
XtraSchedulerReport
.ExportOptions.Pdf.ConvertImagesToJpeg
WPF Controls DiagramControl
.PdfExportOptions.ConvertImagesToJpeg
DiagramDesignerControl
.PdfExportOptions.ConvertImagesToJpeg
ExportOptionsContainer
.Pdf.ConvertImagesToJpeg
PrintingSystem
.ExportOptions.Pdf.ConvertImagesToJpeg
PrintingSystem
.ExportOptions.Pdf.ConvertImagesToJpeg
Reporting XtraReport
.ExportOptions.Pdf.ConvertImagesToJpeg
DocumentOperationRequest
.ExportOptions.Pdf.ConvertImagesToJpeg
Silverlight Controls PrintingSystem
.ExportOptions.Pdf.ConvertImagesToJpeg
PrintingSystem
.ExportOptions.Pdf.ConvertImagesToJpeg

Remarks

Use the ConvertImagesToJpeg property to convert the bitmap and meta file images contained in the document to JPEG format during the export to PDF. This reduces the PDF document size.

Images are converted to JPEG only if this option is enabled and the JPEG image size is smaller than the original image size.

You can use the PdfExportOptions.ImageQuality property to change the embedded images' quality and further reduce the document size.

NOTE

This property is not in effect for specific controls on non-Windows systems and in Azure compatibility mode. For instance, XRChart controls whose ChartImageType property is set to Metafile are exported in vector format.

See Also