exclude_attachment method
exclude_attachment
Excludes a specific attachment from rendering by its URL.
Only used when MhtmlRenderingOptions.render_all_attachments is true.
def exclude_attachment(self, attachment_url):
...
| Parameter | Type | Description |
|---|---|---|
| attachment_url | str | The URL of the attachment to exclude. |
Exceptions
| Exception | Description |
|---|---|
| ArgumentNullException | Thrown when attachment_url is null. |
| ArgumentException | Thrown when attachment_url is empty. |
See Also
- module
aspose.html.rendering - class
MhtmlRenderingOptions