[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.PdfSaveOptions.ImageQuality

ImageQuality Property

ImageQuality

Gets or sets the image quality, in percent. This value must be between 0 (lowest quality, maximum compression) to 100 (highest quality, no compression). The default is 75.

Images are encoded in JPEG format when exported to PDF. If the source image is already in JPEG format, it is stored as-is without re-encoding, and this property has no effect. For images in other formats (such as PNG or BMP), they are converted to JPEG during export, and this property controls the compression level of the conversion.

Declaration
public int ImageQuality { get; set; }
Public Property ImageQuality As Integer