PdfPageCollection class

Represents the collection of pages in a PdfDocument .

Properties

count int
Gets the total number of the pages.
no setter
hashCode int
The hash code for this object.
no setterinherited
pageAdded PageAddedCallback?
Represents the method that executes on a PdfDocument when a new page is created.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add() PdfPage
Adds a new page.
indexOf(PdfPage page) int
Gets the index of the page.
insert(int index, [Size? size, PdfMargins? margins, PdfPageRotateAngle? rotation, PdfPageOrientation? orientation]) PdfPage
Inserts a page at the specified index to the last section in the document.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(PdfPage page) → void
Removes the specified page.
removeAt(int index) → void
Removes the page at the given specified index.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](int index) PdfPage
Gets the page by index