MhtmlRenderingOptions class
MhtmlRenderingOptions class
Represents options for rendering MHTML documents with attachment selection.
The MhtmlRenderingOptions type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Initializes a new instance of the MhtmlRenderingOptions class. |
Properties
| Property | Description |
|---|---|
| render_all_attachments | Gets or sets a value indicating whether to render all attachments found in the MHTML document. When true (default), all attachments are rendered. When false, only explicitly selected attachments are rendered. |
Methods
| Method | Description |
|---|---|
| select_attachment | Selects a specific attachment for rendering by its URL. |
| select_attachments | |
| exclude_attachment | Excludes a specific attachment from rendering by its URL. Only used when MhtmlRenderingOptions.render_all_attachments is true. |
| exclude_attachments | |
| reset | Clears all attachment selection/exclusion settings and restores default behavior. |
| should_render_attachment | Determines whether a specific attachment should be rendered based on the current options. |
See Also
- module
aspose.html.rendering - class
MhtmlRenderingOptions