Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

New Post: Iterate through Selected Shapes

$
0
0
In my VB.NET app using the OCX I am letting the user select shapes in various ways. Once they are done they click on a button to do something with the selected shapes. Is there no other way to get a collection of the selected shapes other than to iterate through them all and check sfl.ShapeSelected(idx) = True? There is a sfl.NumSelected property so the class knows how many are selected. I just cant see how to get an array of selected indexes much like what you get from the SelectShapes function.

Thanks
AGP

Viewing all articles
Browse latest Browse all 2341

Trending Articles



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