GefPolylineFormat.RemoveVertex (method)

Removes a point from the shape of the poly object.
Syntax: Boolean = object.RemoveVertex ( Index )
Parameters:
Index As long -
Description: The RemoveVortex method is used to remove a point from the shape of the poly object.
The index argument can range from 0 to Count-1.

Example:

Sub PolylineFormat_RemoveVortex()
    
    Dim oCimObj As GefObject
    Dim oCimPolyFmt As GefPolylineFormat
    
    Set oCimObj = CimGetObject
    Set oCimPolyFmt = oCimObj.PolylineFormat
    If Not oCimPolyFmt Is Nothing Then
        oCimPolyFmt.RemoveVertex oCimPolyFmt.VertexCount - 1
    End If
    CimGetScreen.Refresh False
    
End Sub