PdfAttachmentCollection class
Represents a collection of the attachment objects.
- Inheritance
-
- Object
- PdfObjectCollection
- PdfAttachmentCollection
Constructors
- PdfAttachmentCollection()
- Initializes a new instance of the PdfAttachmentCollection class.
Properties
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.