HtmlViewOptions class
HtmlViewOptions class
Contains options for rendering documents into HTML format. For details, see the topic and its children.
Inheritance: HtmlViewOptions →
ViewOptions →
BaseViewOptions
The HtmlViewOptions type exposes the following members:
Properties
| Property | Description |
|---|---|
| render_comments | Enables rendering comments. |
| render_notes | Enables rendering notes. |
| render_hidden_pages | Enables rendering of hidden pages. |
| default_font_name | Sets the default font for a document. |
| archive_options | The archive files view options. |
| cad_options | The CAD drawing view options. |
| email_options | The email messages view options. |
| outlook_options | The Microsoft Outlook data files view options. |
| mail_storage_options | Mail storage data files view options. |
| pdf_options | The PDF document view options. |
| project_management_options | The project management files view options. |
| spreadsheet_options | The spreadsheet files view options. |
| word_processing_options | The Word processing files view options. |
| visio_rendering_options | The Visio files view options. |
| text_options | Text files view options. |
| presentation_options | The presentation files view options. |
| web_document_options | The Web files view options. |
| watermark | The text watermark to be applied to each page. |
| render_responsive | Enables responsive rendering. |
| minify | Enables HTML content and HTML resources minification. |
| render_to_single_page | Enables rendering an entire document to one HTML file. |
| image_max_width | Max width of an output image (in pixels). The property is available when converting single image to HTML only. |
| image_max_height | Max height of an output image (in pixels). The property is available when converting single image to HTML only. |
| image_width | The width of the output image (in pixels). The property is available when converting single image to HTML only. |
| image_height | The height of an output image (in pixels). The property is available when converting single image to HTML only. |
| for_printing | Enables optimization the output HTML for printing. |
| exclude_fonts | Disables adding any fonts into HTML document. |
| fonts_to_exclude | The list of font names to exclude from HTML document. |
Methods
| Method | Description |
|---|---|
| for_embedded_resources | Initializes an instance of the HtmlViewOptions class for rendering into HTML with embedded resources. |
| for_embedded_resources | Initializes an instance of the HtmlViewOptions class. |
| for_embedded_resources | Initializes an instance of the HtmlViewOptions class. |
| for_external_resources | Initializes an instance of the HtmlViewOptions class for rendering into HTML with external resources. |
| for_external_resources | Initializes an instance of the HtmlViewOptions class. |
| for_external_resources | Initializes an instance of the HtmlViewOptions class. |
| rotate_page | Applies the clockwise rotation to a page. |
See Also
- module
groupdocs.viewer.options - class
BaseViewOptions - class
HtmlViewOptions - class
ViewOptions