PdfOptionsEnablePreciseRendering Property
Indicates whether the PDF document is rendered in a precise mode or not. The default value is false.

Namespace: GroupDocs.Viewer.Converter.Options
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.6
public bool EnablePreciseRendering { get; set; }

Property Value

Type: Boolean
The precise rendering mode allows to keep maximum precision during positioning of glyphs on the page. When this option is enabled, it will degrade performance, but in certain cases will improve render result.
The following example demonstrates how to enable precise rendering.
ViewerHtmlHandler htmlHandler = new ViewerHtmlHandler();
HtmlOptions options = new HtmlOptions();
options.PdfOptions.EnablePreciseRendering = true;

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