Click or drag to resize

PdfPages Class

Represents an intermediate node in a page tree, called a page tree node.

Note  Note
This class provides a flattened view of all descendant PdfPages by implementing the IListT interface.
Inheritance Hierarchy
SystemObject
  SautinSoft.PdfPdfObject
    SautinSoft.PdfPdfPageObject
      SautinSoft.PdfPdfPages

Namespace: SautinSoft.Pdf
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.11.26
Syntax
public sealed class PdfPages : PdfPageObject, 
	IList<PdfPage>, ICollection<PdfPage>, IEnumerable<PdfPage>, 
	IEnumerable

The PdfPages type exposes the following members.

Properties
 NameDescription
Public propertyCount(Required) The number of leaf nodes (page objects) that are descendants of this node within the page tree.
Public propertyItem Gets or sets the PdfPage at the specified index.
Public propertyKids(Required) An array of indirect references to the immediate children of this node. The children shall only be page objects or other page tree nodes.
Top
Methods
 NameDescription
Public methodAdd Adds a new empty PdfPage to the PdfPages.
Public methodAddClone Adds the clone of the specified PdfPage to the PdfPages.
Public methodClear Removes all PdfPages from the PdfCollection.
Public methodContains Determines whether a PdfPage is in the collection.
Public methodCopyTo Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
Public methodGetEnumerator Returns an enumerator that iterates through the collection of PdfPages.
Public methodIndexOf Searches for the specified PdfPage and returns the zero-based index of the first occurrence within the entire collection.
Public methodInsert Adds a new empty PdfPage to the PdfPages at the specified index.
Public methodInsertClone Inserts the clone of the specified PdfPage to the PdfPages at the specified index.
Public methodMove Moves the PdfPage at the specified index to a new location in the collection.
Public methodRemove Removes the first occurrence of a specific PdfPage from the collection.
Public methodRemoveAt Removes the PdfPage at the specified index of the collection.
Top
Extension Methods
 NameDescription
Public Extension MethodGetArray Gets the PdfArray that serves as a backing storage of the specified PdfObject or if no PdfArray serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetOrAddDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Top
See Also