Skip to main content

PdfGraphics.JpegImageQuality Property

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

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v23.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