Search Results for

    Show / Hide Table of Contents

    Class PdfPagesCollection

    Class for managing the collection of PdfPage elements.

    Inheritance
    System.Object
    PdfPagesCollection
    Implements
    System.Collections.Generic.IEnumerable<PdfPage>
    System.Collections.IEnumerable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: IronPdf
    Assembly: IronPdf.dll
    Syntax
    public class PdfPagesCollection : IEnumerable<PdfPage>, IEnumerable

    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.

    Explicit Interface Implementations

    IEnumerable.GetEnumerator()

    Declaration
    IEnumerator IEnumerable.GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    Implements

    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    ☀
    ☾
    In This Article
    Back to top
    Install with Nuget