Class PdfPagesCollection
Class for managing the collection of PdfPage elements.
Implements
IronSoftware.IDocumentPageCollection<IPdfPage>
System.Collections.Generic.IReadOnlyCollection<IPdfPage>
System.Collections.Generic.IEnumerable<IPdfPage>
System.Collections.IEnumerable
Namespace: IronPdf.Pages
Assembly: IronPdf.dll
Syntax
public class PdfPagesCollection : PdfClientAccessor, IPdfPageCollection
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 IPdfPage this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
Property Value
Type | Description |
---|---|
IPdfPage | The PdfPage. |
Methods
GetEnumerator()
Declaration
public IEnumerator<IPdfPage> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<IPdfPage> |
Implements
IronSoftware.IDocumentPageCollection<>
System.Collections.Generic.IReadOnlyCollection<>
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable