ExpertPdf Html to Pdf Converter Library
PageCollection Class
NamespacesExpertPdf.HtmlToPdf.PdfDocumentPageCollection
ExpertPdf Html to Pdf Converter Library
Represents a collection of pages of a document.
Declaration Syntax
C#Visual BasicVisual C++
public class PageCollection : IEnumerable
Public Class PageCollection
	Implements IEnumerable
public ref class PageCollection : IEnumerable
Members
All MembersMethodsProperties



IconMemberDescription
Add(PdfPage)
Adds the specified page to the document pages collection. The page to be added is allowed to be from another document. The source document of the page to be added must remain opened until the current document is saved.

AddNewPage()()()()
Creates a new PDF page and adds it to the collection. If there is a previous page in the collection, the orientation and size are inherited from the that page otherwise a first page with the default A4 size and Portrait orientation is created. The page margins are inherited from the default document margins.

AddNewPage(Margins)
Creates a new PDF page and adds it to the collection. If there is a previous page in the collection, the orientation and size are inherited from the that page otherwise a first page with the default A4 size and Portrait orientation is created.

AddNewPage(PageSize, Margins)
Creates a new PDF page and adds it to the collection. If there is a previous page in the collection, the page orientation is inherited from the that page otherwise a first page with the specified size and Portrait orientation is created.

AddNewPage(PageSize, Margins, PDFPageOrientation)
Creates a new PDF page with the specified size, margins and orientation and adds it to the collection.

AddRange(array<PdfPage>[]()[][])
Adds the specified array of pages to the PDF document pages. The page to be added are allowed to be from another document. The source document of the pages to be added must remain opened until the current document is saved.

Contains(PdfPage)
Indicates if the collection contains specified page.

Count
The number of pages in collection.

Document
The parent document of this collection

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetEnumerator()()()()
Gets the collection enumerator.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
IndexOf(PdfPage)
Returns the index of specified page in collection.

Insert(Int32, PdfPage)
Inserts the specified page into the document pages collection at the specified index. The page to be added is allowed to be from another document. The source document of the page to be inserted must remain opened until the current document is saved.

InsertNewPage(Int32, PageSize, Margins, PDFPageOrientation)
Creates a new PDF page with the specified size, margins and orientation and inserts it into the collection at the specified index

Item[([( Int32])])
Gets or sets the page at the specified zero based index in the pages collection.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove(PdfPage)
Removes the specified PDF page.

Remove(Int32)
Removes the PDF page at the specified index in collection.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Inheritance Hierarchy
Object
PageCollection

Assembly: ExpertPdf.HtmlToPdf (Module: ExpertPdf.HtmlToPdf.dll) Version: 9.2.0.25824 (9.2.0.0)