Quantcast
Viewing all articles
Browse latest Browse all 2341

New Post: How to fire an "finish operation" event when left click the mouse button during adding shape

You should start from reading documentation of ShapeEditor class. In particular to finish shape AxMap.ShapeEditor.SaveChanges should be called. New shape is started automatically on the first mouse click after the previous one was saved or discarded (ShapeEditor.Clear). AfterShapeEditEvent event is fired automatically by ShapeEditor.SaveChanges (as far as I remember). UndoList can be a bit tricky, but MWLite has good samples of its usage (MergeOperation.cs, ExplodeOperation.cs). Trial and error approach is the best way to master it.

Hope it helps,
Sergei

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>