public enum ImageQuality extends Enum<ImageQuality>
The quality of images in the output HTML contained by the PDF documents.
The ImageQuality enum represents the quality of images in the output HTML contained by the PDF documents in the GroupDocs.Viewer component. It provides different levels of image quality that can be used to control the rendering and compression of images in the generated HTML output.
Example usage:
HtmlViewOptions htmlViewOptions = HtmlViewOptions.forEmbeddedResources();
PdfOptions pdfOptions = htmlViewOptions.getPdfOptions();
pdfOptions.setImageQuality(ImageQuality.HIGH);
try (Viewer viewer = new Viewer("document.pdf")) {
viewer.view(htmlViewOptions);
// Use the viewer object for further operations
}