PdfAttachmentCollection class Null safety

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.
read-only, inherited
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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 non-existent 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.