MhtmlRenderingOptions.ExcludeAttachments
MhtmlRenderingOptions.ExcludeAttachments method
Excludes multiple attachments from rendering by their URLs. Only used when RenderAllAttachments is true.
public void ExcludeAttachments(IEnumerable<string> attachmentUrls)
| Parameter | Type | Description |
|---|---|---|
| attachmentUrls | IEnumerable`1 | An enumerable collection of attachment URLs to exclude. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Thrown when attachmentUrls is null. |
See Also
- class MhtmlRenderingOptions
- namespace Aspose.Html.Rendering
- assembly Aspose.HTML