VertexAdded event doesn't capture first vertex

388
2
07-07-2010 02:36 PM
MarkCederholm
Occasional Contributor III
In the Draw class, when the draw type is polyline or polygon, the first vertex placed doesn't fire the VertexAdded event.  Has anyone found a way to capture the first vertex before the drawing is completed?
0 Kudos
2 Replies
MarkCederholm
Occasional Contributor III
I found a workaround:  if I capture the current map position using Map.MouseMove, I can use Draw.DrawBegin to apply that point.  DrawBegin also fires with each vertex addition, so I need to ignore it thereafter until after DrawComplete.
0 Kudos
BrettBattles1
New Contributor
Old thread, but I am experiencing a similar issue.

I have a barebones project (just for testing) and the VertexAdded event is firing during the first click/vertex add.

I have a full-fledged application and added a handler for the VertexAdded event, and it is not firing.

Does anyone have any more information regarding this issue?
0 Kudos