Back to Devexpress

PdfExportOptions.ConvertImagesToJpeg Property

officefileapi-devexpress-dot-docs-dot-presentation-dot-export-dot-pdfexportoptions-0ca6c48f.md

latest1.7 KB
Original Source

PdfExportOptions.ConvertImagesToJpeg Property

Specifies whether to convert bitmap and metafile images contained in the presentation to JPEG during export.

Namespace : DevExpress.Docs.Presentation.Export

Assembly : DevExpress.Docs.Presentation.v25.2.dll

NuGet Package : DevExpress.Docs.Presentation

Declaration

csharp
public bool ConvertImagesToJpeg { get; set; }
vb
Public Property ConvertImagesToJpeg As Boolean

Property Value

TypeDescription
Boolean

true to convert images to JPEG; otherwise, false.

|

Remarks

Use the ConvertImagesToJpeg property to convert bitmap and metafile images to JPEG to reduce the PDF file size. Images are converted to JPEG only if the ConvertImagesToJpeg property is enabled and the JPEG image size is smaller than the original image size.

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

See Also

PdfExportOptions Class

PdfExportOptions Members

DevExpress.Docs.Presentation.Export Namespace