PdfAttachmentCollection
Add Method (PdfAttachment)
|
Adds the specified attachment.
Namespace:
Spire.Pdf.Attachments
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public int Add(
PdfAttachment attachment
)
Public Function Add (
attachment As PdfAttachment
) As Integer
public:
int Add(
PdfAttachment^ attachment
)
member Add :
attachment : PdfAttachment -> int
Parameters
-
attachment
-
Type:
Spire.Pdf.Attachments
PdfAttachment
The attachment.
Return Value
Type:
Int32
Position of the inserted attachment.
See Also