GemBox.Pdf
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    PdfPages.Enumerator Struct

    Namespace:
    GemBox.Pdf
    Assembly:
    GemBox.Pdf.dll

    Enumerates the PdfPages underneath a PdfPages.

    • C#
    • VB.NET
    public struct Enumerator : IEnumerator<PdfPage>, IDisposable, IEnumerator
    Public Structure Enumerator
        Implements IEnumerator(Of PdfPage), IDisposable, IEnumerator
    Implements
    System.Collections.Generic.IEnumerator<PdfPage>
    System.IDisposable
    System.Collections.IEnumerator

    Properties

    Current

    Gets the PdfPage at the current position of the enumerator.

    • C#
    • VB.NET
    public readonly PdfPage Current { get; }
    Public ReadOnly Property Current As PdfPage
    Property Value
    PdfPage

    The PdfPage underneath the PdfPages at the current position of the enumerator.

    Methods

    Dispose()

    Releases all resources used by the PdfPages.Enumerator.

    • C#
    • VB.NET
    public void Dispose()
    Public Sub Dispose

    MoveNext()

    Advances the enumerator to the next PdfPage underneath the PdfPages.

    • C#
    • VB.NET
    public bool MoveNext()
    Public Function MoveNext As Boolean
    Returns
    System.Boolean

    true if the enumerator was successfully advanced to the next PdfPage; false if the enumerator has passed the end of the collection.

    Exceptions
    System.InvalidOperationException

    The collection was modified after the enumerator was created.

    Implements

    System.Collections.Generic.IEnumerator<T>
    System.IDisposable
    System.Collections.IEnumerator
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.