Adds the specified attachment.

Namespace: Spire.Pdf.Attachments
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
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
PdfAttachment
The attachment.

Return Value

Int32
Position of the inserted attachment.

See Also