 | PdfAttachmentCollectionAdd Method |
Namespace:
Patagames.Pdf.Net
Assemblies:
Patagames.Pdf.Xamarin.iOS (in Patagames.Pdf.Xamarin.iOS.dll) Version: 4.57.2704
Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.57.2704
Syntaxpublic void Add(
PdfAttachment item
)
Public Sub Add (
item As PdfAttachment
)
public:
virtual void Add(
PdfAttachment^ item
) sealed
abstract Add :
item : PdfAttachment -> unit
override Add :
item : PdfAttachment -> unit
public final void Add(
PdfAttachment item
)
Parameters
- item
- Type: Patagames.Pdf.NetPdfAttachment
The object to add to the PdfAttachmentCollection.
Implements
ICollectionTAdd(T)
ExceptionsException | Condition |
---|
ArgumentNullException | The item is null. |
PdfParserException | The item could not be added due to a malformed document's name tree. |
ArgumentException | An element with the same name already exists in the PdfAttachmentCollection. |
ObjectDisposedException | The attachment has been disposed. |
See Also