Click or drag to resize
Pdf Library for .NET

PdfPageCollection Class

Represents the collection of pages in a pdf document.
Inheritance Hierarchy
SystemObject
  SelectPdfPdfPageCollection

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 24.1
Syntax
public class PdfPageCollection : IEnumerable

The PdfPageCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
The number of pages in the pdf pages collection.
Public propertyDocument
The parent pdf document of the pages collection.
Public propertyItem
Gets or sets the page at the specified zero based index in the pages collection.
Top
Methods
  NameDescription
Public methodAdd
Creates a new pdf page and adds it to the pdf document pages collection.
Public methodAdd(PdfMargins)
Creates a new pdf page with the specified margins and adds it to the pdf document pages collection.
Public methodAdd(PdfPage)
Adds the specified page to the pdf document pages collection.
Public methodAdd(PdfPage)
Adds the specified array of pages to the pdf document pages collection.
Public methodAdd(PdfCustomPageSize, PdfMargins)
Creates a new pdf page with the specified size and margins and adds it to the pdf document pages collection.
Public methodAdd(PdfCustomPageSize, PdfMargins, PdfPageOrientation)
Creates a new pdf page with the specified size, margins and orientation and adds it to the pdf document pages collection.
Public methodContains
Indicates if the collection contains the specified page.
Public methodGetEnumerator
Gets the collection enumerator.
Public methodIndexOf
Returns the index of specified page in collection.
Public methodInsert(Int32, PdfPage)
Inserts the specified page into the pdf document pages collection at the specified index.
Public methodInsert(Int32, PdfCustomPageSize, PdfMargins, PdfPageOrientation)
Creates a new pdf page with the specified size, margins and orientation and inserts it into the pdf document pages collection at the specified index.
Public methodRemove
Removes the specified page from the pdf document pages collection.
Public methodRemoveAt
Removes the pdf page at the specified index in pdf document pages collection.
Top
Remarks
PdfPageCollection is a collection of PdfPage objects.
See Also