Class PdfLoadedPageEnumerator
Implements enumerator to the loaded page collection.
Inheritance
System.Object
PdfLoadedPageEnumerator
Implements
System.Collections.IEnumerator
Namespace: Syncfusion.Pdf.Parsing
Assembly: Syncfusion.Pdf.NET.dll
Syntax
public class PdfLoadedPageEnumerator : Object, IEnumerator
Constructors
PdfLoadedPageEnumerator(PdfLoadedPageCollection)
Initializes a new instance of the PdfLoadedPageEnumerator class.
Declaration
public PdfLoadedPageEnumerator(PdfLoadedPageCollection collection)
Parameters
Type | Name | Description |
---|---|---|
PdfLoadedPageCollection | collection |
Properties
Current
Gets the current element in the collection.
Declaration
public object Current { get; }
Property Value
Type |
---|
System.Object |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | The enumerator is positioned before the first element of the collection or after the last element. |
Methods
MoveNext()
Advances the enumerator to the next element of the collection.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
System.Boolean | true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | The collection was modified after the enumerator was created. |
Reset()
Sets the enumerator to its initial position, which is before the first element in the collection.
Declaration
public void Reset()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | The collection was modified after the enumerator was created. |
Implements
System.Collections.IEnumerator