MhtmlRenderingOptions.ShouldRenderAttachment
MhtmlRenderingOptions.ShouldRenderAttachment method
Determines whether a specific attachment should be rendered based on the current options.
public bool ShouldRenderAttachment(string attachmentUrl)
| Parameter | Type | Description |
|---|---|---|
| attachmentUrl | String | The URL of the attachment to check. |
Return Value
true if the attachment should be rendered; otherwise, false.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Thrown when attachmentUrl is null. |
See Also
- class MhtmlRenderingOptions
- namespace Aspose.Html.Rendering
- assembly Aspose.HTML