PdfOptionsImageQuality Property
Specifies output image quality for image resources when rendering as HTML. The default value is Low.

Namespace: GroupDocs.Viewer.Converter.Options
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.5
Syntax
public ImageQuality ImageQuality { get; set; }

Property Value

Type: ImageQuality
Remarks
When rendering PDF documents which contains images it is possible to set desired image quality.
Examples
The following example demonstrates how to set best image quality.
C#
ViewerHtmlHandler htmlHandler = new ViewerHtmlHandler();        
HtmlOptions options = new HtmlOptions();
options.PdfOptions.ImageQuality = ImageQuality.High;

string guid = "with-images.pdf";
List<PageHtml> pages = htmlHandler.GetPages(guid, options);
See Also