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.10.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

Type: 
true if the control has been disposed of; otherwise, false.
Public propertyIsReadOnly
Gets a value indicating whether the IList is read-only.
(Inherited from ReadOnlyListT.)
Public propertyItem
Gets the page at the specified index.
Top
Methods
  NameDescription
Public methodContains
Determines whether an element is in the System.Collections.Generic.List.
(Inherited from ReadOnlyListT.)
Public methodCopyTo
Copies the entire System.Collections.Generic.List to a compatible one-dimensional array, starting at the specified index of the target array.
(Inherited from ReadOnlyListT.)
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 methodFind
Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire System.Collections.Generic.List.
(Inherited from ReadOnlyListT.)
Public methodGetByHandle
Gets page by specified handle
Public methodGetEnumerator
Returns an enumerator that iterates through the System.Collections.Generic.List.
(Inherited from ReadOnlyListT.)
Public methodGetPageIndex
Gets page index in PdfPageCollection
Public methodImportPages
Import some pages to a PDF document.
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire System.Collections.Generic.List.
(Inherited from ReadOnlyListT.)
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