HiQPdf Documentation

PdfPagesCollection Class

Quickly Create High Quality PDFs
A collection of PdfPage objects
Inheritance Hierarchy

SystemObject
  HiQPdfPdfPagesCollection

Namespace:  HiQPdf
Assembly:  HiQPdf (in HiQPdf.dll) Version: 15.0.0.0
Syntax

public class PdfPagesCollection : IEnumerable

The PdfPagesCollection type exposes the following members.

Properties

  NameDescription
Public propertyCount
The number of pages in collection
Public propertyDocument
The parent document owning this pages collection
Public propertyItem
Returns the page at the given index in collection
Top
Methods

  NameDescription
Public methodAddPage
Adds a new page with the default size, orientation and margins to the end of this collection
Public methodAddPage(PdfDocumentMargins)
Adds a new page with the default size and orientation and the given margins to the end of this collection
Public methodAddPage(PdfPage)
Adds an existing page to the end of the collection. When the page is from another document that document must remain open until this document is saved
Public methodAddPage(PdfPageSize, PdfDocumentMargins)
Adds a new page with the default orientation and the given size and margins to end of this document
Public methodAddPage(PdfPageSize, PdfDocumentMargins, PdfPageOrientation)
Adds a new page with the given size, margins and orientation at the end of this collection
Public methodAddPageAtIndex(Int32, PdfPage)
Adds an existing page at the given index in collection. The first page index is 0. When the page is from another document that document must remain open until this document is saved
Public methodAddPageAtIndex(Int32, PdfPageSize, PdfDocumentMargins, PdfPageOrientation)
Adds a new page with the given size, margins and orientation at the given index in collection. The first page index is 0
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns the collection enumerator
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Returns the index of given page in collection or a negative number if the page does not exist in collection
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove(Int32)
Removes the page at the given index from document. The first page index is 0
Public methodRemove(PdfPage)
Removes the given page from collection
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference