Represents a collection of the attachment objects.
Namespace: Spire.Pdf.AttachmentsAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public class PdfAttachmentCollection : PdfCollection, [T:sprᝰ]
Public Class PdfAttachmentCollection Inherits PdfCollection Implements [T:sprᝰ]
public ref class PdfAttachmentCollection : public PdfCollection, [T:sprᝰ]
type PdfAttachmentCollection = class inherit PdfCollection interface [T:sprᝰ] end
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| PdfAttachmentCollection()()()() |
Initializes a new instance of the class.
| |
| Add(PdfAttachment) |
Adds the specified attachment.
| |
| Add(PdfAttachment, PdfDocument, PdfAttachmentRelationship) |
Adds the specified attachment.
| |
| Clear()()()() |
Clears the collection.
| |
| Contains(PdfAttachment) |
Determines whether
| |
| Count |
Gets number of the elements in the collection.
(Inherited from PdfCollection.) | |
| Equals(Object) |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetEnumerator()()()() |
Returns an enumerator that iterates through a collection.
(Inherited from PdfCollection.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IndexOf(PdfAttachment) |
Indexes the of attachment.
| |
| Insert(Int32, PdfAttachment) |
Inserts the specified index.
| |
| Item[([( Int32])]) |
Gets attachment by its index in the collection.
| |
| List |
Gets internal list of the collection.
(Inherited from PdfCollection.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Remove(PdfAttachment) |
Removes the specified attachment.
| |
| RemoveAt(Int32) |
Removes attachment at the specified index.
| |
| ToString()()()() |
Returns a String that represents the current Object.
(Inherited from Object.) |