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

    Show / Hide Table of Contents

    PdfFreeTriangleMeshShading.Enumerator Struct

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

    Enumerates the PdfMeshTriangles of a PdfFreeTriangleMeshShading.

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

    Properties

    Current

    Gets the PdfMeshTriangle at the current position of the enumerator.

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

    The PdfMeshTriangle in the PdfFreeTriangleMeshShading at the current position of the enumerator.

    Methods

    Dispose()

    Releases all resources used by the PdfFreeTriangleMeshShading.Enumerator.

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

    MoveNext()

    Advances the enumerator to the next PdfMeshTriangle of the PdfFreeTriangleMeshShading.

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

    true if the enumerator was successfully advanced to the next PdfMeshTriangle; 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 triangle that shares an edge with a previous, non-existing, triangle.

    System.InvalidOperationException

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

    Implements

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

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.