Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IMap map = axMapControl1.ActiveView.FocusMap;
- IFeatureSelection fSelection = map.get_Layer(0) as IFeatureSelection;
- ISelectionSet selSet = fSelection.SelectionSet;
- ICursor cursor;
- selSet.Search(null, true, out cursor);
- IFeature feat = ((IFeatureCursor)cursor).NextFeature();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement