Skip to main content
All docs
V25.1
  • 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.1.dll

    NuGet Package: DevExpress.Docs.Presentation

    Declaration

    public bool ConvertImagesToJpeg { get; set; }

    Property Value

    Type Description
    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