should_render_attachment method
should_render_attachment
Determines whether a specific attachment should be rendered based on the current options.
Returns
true if the attachment should be rendered; otherwise, false.
def should_render_attachment(self, attachment_url):
...
| Parameter | Type | Description |
|---|---|---|
| attachment_url | str | The URL of the attachment to check. |
Exceptions
| Exception | Description |
|---|---|
| ArgumentNullException | Thrown when attachment_url is null. |
See Also
- module
aspose.html.rendering - class
MhtmlRenderingOptions