Back to Devexpress

PdfGraphics.JpegImageQuality Property

officefileapi-devexpress-dot-pdf-dot-pdfgraphics-58fea5f1.md

latest1.8 KB
Original Source

PdfGraphics.JpegImageQuality Property

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

Namespace : DevExpress.Pdf

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

NuGet Package : DevExpress.Pdf.Drawing

Declaration

csharp
public PdfGraphicsJpegImageQuality JpegImageQuality { get; set; }
vb
Public Property JpegImageQuality As PdfGraphicsJpegImageQuality

Property Value

TypeDescription
PdfGraphicsJpegImageQuality

Specifies the quality of images in the resulting PDF file.

|

Available values:

NameDescription
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

PdfGraphics Class

PdfGraphics Members

DevExpress.Pdf Namespace