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

    Show / Hide Table of Contents

    PdfDictionary.Enumerator Struct

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

    Enumerates the entries of a PdfDictionary.

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

    Properties

    Current

    Gets the PdfDictionaryEntry at the current position of the enumerator.

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

    The PdfDictionaryEntry in the PdfDictionary at the current position of the enumerator.

    Methods

    Dispose()

    Releases all resources used by the PdfDictionary.Enumerator.

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

    MoveNext()

    Advances the enumerator to the next PdfDictionaryEntry of the PdfDictionary.

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

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

    Exceptions
    System.InvalidOperationException

    The collection was modified after the enumerator was created.

    Implements

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

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.