Click or drag to resize

PdfAttachmentCollectionAdd Method

Adds an item to the PdfAttachmentCollection.

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntax
public void Add(
	PdfAttachment item
)

Parameters

item  PdfAttachment
The object to add to the PdfAttachmentCollection.

Implements

ICollectionTAdd(T)
Exceptions
ExceptionCondition
ArgumentNullExceptionThe item is null.
PdfParserExceptionThe item could not be added due to a malformed document's name tree.
ArgumentExceptionAn element with the same name already exists in the PdfAttachmentCollection.
ObjectDisposedExceptionThe attachment has been disposed.
See Also