PdfAttachmentCollection class

Represents a collection of the attachment objects.

Inheritance

Constructors

PdfAttachmentCollection()
Initializes a new instance of the PdfAttachmentCollection class.

Properties

count → int
Gets number of the elements in the collection.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(PdfAttachment attachment) → int
Add PdfAttachment in the specified attachment collection.
clear() → void
Remove all the attachments from the collection.
contains(PdfAttachment attachment) → bool
Determines whether the attachment collection contains the specified attachment.
indexOf(PdfAttachment attachment) → int
Search and find the index of the attachment.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(PdfAttachment attachment) → void
Removes the specified attachment from the collection.
removeAt(int index) → void
Removes attachment at the specified index.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited
operator [](int index) → PdfAttachment
Gets the attachment by index from the collection. Read-Only.