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
    Namespace: IronPdf.Pages
    Assembly: IronPdf.dll
    Syntax
    public class PdfPagesCollection : Object

    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
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronPDF to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPDF free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.