This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineEditEvents Interface > IEngineEditEvents.OnVertexAdded Event (ArcObjects .NET 10.5 SDK) |
Fires when a vertex is added to the edit sketch.
[Visual Basic .NET] Public Event OnVertexAdded As OnVertexAddedEventHandler
[C#] public event OnVertexAddedEventHandler OnVertexAdded
[C++]
HRESULT OnVertexAdded(
IPoint* point
);
[C++]
Parameters point [in]
point is a parameter of type IPoint
The OnVertexAdded event is fired whenever a new vertex is added to an edit sketch. If the edit sketch vertex is added programmatically call IEngineEditSketch::VertexAdded to ensure that this event is fired. This could be used to check that the maximum number of points in a particular sketch is not exceeded before it is added to the edit sketch.