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