PdfCoonsPatchMeshShading.Enumerator Struct
Enumerates the PdfMeshPatches of a PdfCoonsPatchMeshShading.
public struct Enumerator : IEnumerator<PdfMeshPatch>, IDisposable, IEnumerator
Public Structure Enumerator
Implements IEnumerator(Of PdfMeshPatch), IDisposable, IEnumerator
Properties
Current
Gets the PdfMeshPatch at the current position of the enumerator.
public readonly PdfMeshPatch Current { get; }
Public ReadOnly Property Current As PdfMeshPatch
Property Value
The PdfMeshPatch in the PdfCoonsPatchMeshShading at the current position of the enumerator.
Methods
Dispose()
Releases all resources used by the PdfCoonsPatchMeshShading.Enumerator.
MoveNext()
Advances the enumerator to the next PdfMeshPatch of the PdfCoonsPatchMeshShading.
Returns
- System.Boolean
true if the enumerator was successfully advanced to the next PdfMeshPatch; false if the enumerator has passed the end of the mesh.
Exceptions
The shading mesh data was modified after the enumerator was created.
The shading mesh starts with a patch that shares an edge with a previous, non-existing, patch.
Shading mesh contains an invalid PdfMeshSharedEdge value. Supported values are: None, Edge1, Edge2, and Edge3.