MhtmlRenderingOptions.SelectAttachment

MhtmlRenderingOptions.SelectAttachment method

Selects a specific attachment for rendering by its URL.

public void SelectAttachment(string attachmentUrl)
ParameterTypeDescription
attachmentUrlStringThe URL of the attachment to select.

Exceptions

exceptioncondition
ArgumentNullExceptionThrown when attachmentUrl is null.
ArgumentExceptionThrown when attachmentUrl is empty.

See Also