Skip to main content
A newer version of this page is available. .

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; }

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
.Pdf.ConvertImagesToJpeg
WPF Controls ExportOptionsContainer
.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