render_text_as_image property

render_text_as_image property

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

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.

Definition:

@property
def render_text_as_image(self):
    ...
@render_text_as_image.setter
def render_text_as_image(self, value):
    ...

See Also