Returns the attachment at the specified index.
Visual Basic |
---|
Public Function GetAttachment( _ ByVal attachmentIndex As Long _ ) As PdfDocumentAttachment |
- attachmentIndex
- The index at which to get the attachment.
The PdfDocumentAttachment attachment at the specified index.
PDF attachments can be almost anything, e.g., other PDF's, Microsoft Word files, e-mail messages, CAD drawings, etc. Once extracted, the attachment data can be opened by an application appropriate to the file type, saved to disk, etc.