Class PdfPagesCollection
Class for managing the collection of PdfPage elements.
Namespace: IronPdf.Pages
Assembly: IronPdf.dll
Syntax
public class PdfPagesCollection : PdfClientAccessor
Properties
Count
Gets the number of elements contained in the collection.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The count of pages. |
Item[Int32]
Gets the PdfPage at the specified index.
Declaration
public PdfPage this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
Property Value
Type | Description |
---|---|
PdfPage | The PdfPage. |
Methods
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<PdfPage> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<PdfPage> | An enumerator that can be used to iterate through the collection. |
Implements
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable