## MhtmlRenderingOptions.SelectAttachments method

Selects multiple attachments for rendering by their URLs.

```csharp
public void SelectAttachments(IEnumerable<string> attachmentUrls)
```

| Parameter | Type | Description |
| --- | --- | --- |
| attachmentUrls | IEnumerable`1 | An enumerable collection of attachment URLs to select. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | Thrown when *attachmentUrls* is null. |

### See Also

* class [MhtmlRenderingOptions](../)
* namespace [Aspose.Html.Rendering](../../../aspose.html.rendering/)
* assembly [Aspose.HTML](../../../)
