Accusoft.PdfXpress7.Net
GetAttachment Method




The index at which to get the attachment.
Returns the attachment at the specified index.
Syntax
'Declaration
 
Public Function GetAttachment( _
   ByVal attachmentIndex As Integer _
) As PdfDocumentAttachment
'Usage
 
Dim instance As Document
Dim attachmentIndex As Integer
Dim value As PdfDocumentAttachment
 
value = instance.GetAttachment(attachmentIndex)
public PdfDocumentAttachment GetAttachment( 
   int attachmentIndex
)
public: PdfDocumentAttachment* GetAttachment( 
   int attachmentIndex
) 
public:
PdfDocumentAttachment^ GetAttachment( 
   int attachmentIndex
) 

Parameters

attachmentIndex
The index at which to get the attachment.

Return Value

The attachment at the specified index.
Remarks
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.
See Also

Reference

Document Class
Document Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback