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

    Show / Hide Table of Contents

    PdfTensorPatchMeshShading.Enumerator Struct

    Namespace:
    GemBox.Pdf.Content.Patterns
    Assembly:
    GemBox.Pdf.dll

    Enumerates the PdfMeshPatches of a PdfTensorPatchMeshShading.

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

    Properties

    Current

    Gets the PdfMeshPatch at the current position of the enumerator.

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

    The PdfMeshPatch in the PdfTensorPatchMeshShading at the current position of the enumerator.

    Methods

    Dispose()

    Releases all resources used by the PdfTensorPatchMeshShading.Enumerator.

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

    MoveNext()

    Advances the enumerator to the next PdfMeshPatch of the PdfTensorPatchMeshShading.

    • C#
    • VB.NET
    public bool MoveNext()
    Public Function MoveNext As Boolean
    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
    System.InvalidOperationException

    The shading mesh data was modified after the enumerator was created.

    System.InvalidOperationException

    The shading mesh starts with a patch that shares an edge with a previous, non-existing, patch.

    System.InvalidOperationException

    Shading mesh contains an invalid PdfMeshSharedEdge value. Supported values are: None, Edge1, Edge2, and Edge3.

    Implements

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

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.