A newer version of this page is available. Switch to the current version.

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.v18.2.Core.dll

Declaration

[DefaultValue(true)]
[TypeConverter(typeof(BooleanTypeConverter))]
[XtraSerializableProperty]
public bool ConvertImagesToJpeg { get; set; }
<DefaultValue(True)>
<TypeConverter(GetType(BooleanTypeConverter))>
<XtraSerializableProperty>
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:

Library Object Type Path to ConvertImagesToJpeg
Cross-Platform Class Library RemotePrintingSystem
.ExportOptions.Pdf.ConvertImagesToJpeg
ExportOptions
.Pdf.ConvertImagesToJpeg
PrintingSystemBase
.ExportOptions.Pdf.ConvertImagesToJpeg
WinForms Controls PrintingSystem
.ExportOptions.Pdf.ConvertImagesToJpeg
XtraSchedulerReport
.ExportOptions.Pdf.ConvertImagesToJpeg
WPF Controls ExportOptionsContainer
.Pdf.ConvertImagesToJpeg
PrintingSystem
.ExportOptions.Pdf.ConvertImagesToJpeg
PrintingSystem
.ExportOptions.Pdf.ConvertImagesToJpeg
Reporting XtraReport
.ExportOptions.Pdf.ConvertImagesToJpeg
DocumentOperationRequest
.ExportOptions.Pdf.ConvertImagesToJpeg

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