Click or drag to resize

PdfPageCollection Class

Represents the collection of PdfPage objects
Inheritance Hierarchy
SystemObject
  Patagames.Pdf.NetReadOnlyListPdfPage
    Patagames.Pdf.NetPdfPageCollection

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.89.2704
Syntax
public class PdfPageCollection : ReadOnlyList<PdfPage>, 
	IDisposable

The PdfPageCollection type exposes the following members.

Constructors
 NameDescription
Public methodPdfPageCollection Initializes a new instance of the PdfPageCollection class.
Top
Properties
 NameDescription
Public propertyCount Gets total number of pages in a PDF document
Public propertyCurrentIndex Gets or sets the current index of a page in PdfPageCollection
Public propertyCurrentPage Gets the current PdfPage item by CurrentIndex
Public propertyIsDisposed Gets a value indicating whether the object has been disposed of.

Field Value

true if the control has been disposed of; otherwise, false.
Public propertyItem Gets the page at the specified index.
Top
Methods
 NameDescription
Public methodDeleteAt Delete a PDF page.
Public methodDispose Releases all resources used by the PdfPageCollection.
Protected methodDispose(Boolean) Releases all resources used by the PdfImageObject.
Public methodGetByHandle Gets page by specified handle
Public methodGetPageIndex Gets page index in PdfPageCollection
Public methodImportPages Import some pages to a PDF document.
Public methodInsertPageAt(Int32, FS_SIZEF) Inserts a new page into the collection at the specified index.
Public methodInsertPageAt(Int32, Single, Single) Inserts a new page into the collection at the specified index.
Protected methodOnCurrentPageChanged Raises the CurrentPageChanged event.
Protected methodOnPageDeleted Raises the PageDeleted event.
Protected methodOnPageDisposed Raises the PageDisposed event.
Protected methodOnPageInserted Raises the PageInserted event.
Protected methodOnPageLoaded Raises the PageLoaded event.
Protected methodOnProgressiveRender Raises the ProgressiveRender event.
Top
Events
 NameDescription
Public eventCurrentPageChanged Occurs when the CurrentPage has changed.
Public eventPageDeleted Occurs when the page was removed from collection.
Public eventPageDisposed Occurs when the page is disposed.
Public eventPageInserted Occurs when the new page was added into collection.
Public eventPageLoaded Occurs when the page is loaded into memory.
Public eventProgressiveRender Occurs during page rendering via progressive rendering.
Top
See Also