select_attachment method
select_attachment
Selects a specific attachment for rendering by its URL.
def select_attachment(self, attachment_url):
...
| Parameter | Type | Description |
|---|---|---|
| attachment_url | str | The URL of the attachment to select. |
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