This document is archived and information here might be outdated.  Recommended version.


ISketchTool.AddPoint Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IS > ISketchTool Interface > ISketchTool.AddPoint Method
ArcGIS Developer Help

ISketchTool.AddPoint Method

Adds a point to the sketch.

[Visual Basic .NET]
Public Sub AddPoint ( _
    ByVal point As IPoint, _
    ByVal Clone As Boolean, _
    ByVal allowUndo As Boolean _
)
[C#]
public void AddPoint (
    IPoint point,
    bool Clone,
    bool allowUndo
);

Product Availability

Available with ArcGIS Desktop.

Description

Adds a new point to the edit sketch.

Remarks

Same as calling IEditSketch::AddPoint, this method adds a new point to the sketch geometry. The optional clone argument will create a copy of the point object before adding it to the sketch.

See Also

ISketchTool Interface