1. GroupDocs.Viewer
  2. /
  3. GroupDocs.Viewer for .NET
  4. /
  5. GroupDocs.Viewer.Options
  6. /
  7. PdfOptions
  8. /
  9. RenderTextAsImage

RenderTextAsImage

PdfOptions.RenderTextAsImage property

Enables rendering texts in the PDF files as an image in the HTML output.

public bool RenderTextAsImage { get; set; }

Remarks

When this option is set to true, GroupDocs.Viewer renders text as an image in the HTML output. This makes the text unselectable and enhances character rendering, ensuring a PDF-like appearance in HTML. The default value is false.

This option is available for rendering to HTML.

For code example, see the documentation.

See Also