DeleteVertex Method (IRichLine)

DeleteVertex Method (IRichLine) | Send Feedback
See Also

VertexIndex
  Index of vertex to delete

Deletes the vertex at the specified index.

# Syntax

Visual Basic |
--- | ---
    Sub DeleteVertex( _
       ByVal VertexIndex As System.Integer _
    )

C# |
--- | ---
    void DeleteVertex(
       System.int VertexIndex
    )

JavaScript |
--- | ---
    DeleteVertex(
       VertexIndex : Number
    )

COM native C++ |
--- | ---
    HRESULT DeleteVertex(
       LONG VertexIndex
    )

C++ |
--- | ---
    DSRESULT DeleteVertex(
       long VertexIndex
    )

#### Parameters

VertexIndex
  Index of vertex to delete

# Remarks

Call IRichLine::GetVerticesCount to get the number of vertices in the RichLine and to determine a valid value for VertexIndex.

# See Also

####

IRichLine Interface
IRichLine Members
IRichLine::AddVertexAfter Method
IRichLine::GetVertexCoordinate Method
IRichLine::SetVertexCoordinate Method

# Availability

DraftSight V1R1.3