Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PdfGraphics.JpegImageQuality Property

Gets or sets the quality of JPEG images in the resulting PDF file.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v24.2.Drawing.dll

NuGet Package: DevExpress.Pdf.Drawing

#Declaration

public PdfGraphicsJpegImageQuality JpegImageQuality { get; set; }

#Property Value

Type Description
PdfGraphicsJpegImageQuality

Specifies the quality of images in the resulting PDF file.

Available values:

Name Description
Lowest

The resulting Jpeg image quality is the lowest.

Low

The resulting Jpeg image quality is low.

Medium

The resulting Jpeg image quality is medium.

High

The resulting Jpeg image quality is high.

Highest

The resulting Jpeg image quality is the highest.

#Remarks

This property is in effect only for compressing images of the resulting PDF file.

Increasing the quality of document images may result in the increase of the file size of the resulting PDF.

Use the ConvertImagesToJpeg property to convert all bitmap images into a JPEG.

See Also