STK Vector Geometry ToolSend comments on this topic.
Remove Method (IAgCrdnPointGroup)
See Also
PointName
Specify a name of the point to be removed.
Windows





Windows & Linux

Description

Removes a specified point by name.

Syntax

[Visual Basic .NET]
Public Sub Remove( _
    ByVal PointName As String _
)
[C#]
public void Remove(
    string PointName
);
[Managed C++]
public: void Remove(
    String __gc ^ PointName
);
[Unmanaged C++]
public: HRESULT Remove(
    BSTR PointName
);
[Java]
public void remove(
    String PointName
);
[Python - STK API ]
def Remove(self, PointName:str) -> None:

Parameters

PointName
Specify a name of the point to be removed.

See Also

Example

Remove an existing point with the specified name.
[C#]
// Check if the specified point exists
if (provider.Points.Contains("PointName"))
{
    provider.Points.Remove("PointName");
}
Remove an existing point with the specified name.
[Visual Basic .NET]
' Check if the specified point exists
If provider.Points.Contains("PointName") Then
	provider.Points.Remove("PointName")
End If
© 2024 Analytical Graphics, Inc. All Rights Reserved.