GetAttachments
Leave feedback
On this page
Returns attachments contained by the document.
public IList<Attachment> GetAttachments()
Attachments contained by the document.
| exception | condition |
|---|---|
| PasswordRequiredException | Thrown when password is required to open the document. |
| IncorrectPasswordException | Thrown when password that was specified is incorrect. |
Learn more
- Learn more about getting document attachments in C#: How to get list of document attachments using GroupDocs.Viewer
- Learn more about saving document attachments in C#: How to save document attachments using GroupDocs.Viewer
- class Attachment
- class Viewer
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer
Returns attachments contained by the document.
public IList<Attachment> GetAttachments(CancellationToken cancellationToken)
| Parameter | Type | Description |
|---|---|---|
| cancellationToken | CancellationToken | Cancellation token. |
Attachments contained by the document.
| exception | condition |
|---|---|
| PasswordRequiredException | Thrown when password is required to open the document. |
| IncorrectPasswordException | Thrown when password that was specified is incorrect. |
Learn more
- Learn more about getting document attachments in C#: How to get list of document attachments using GroupDocs.Viewer
- Learn more about saving document attachments in C#: How to save document attachments using GroupDocs.Viewer
- class Attachment
- class Viewer
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.