Advertisement
Guest User

Untitled

a guest
Aug 28th, 2015
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. IMap map = axMapControl1.ActiveView.FocusMap;
  2. IFeatureSelection fSelection = map.get_Layer(0) as IFeatureSelection;
  3.  
  4. ISelectionSet selSet = fSelection.SelectionSet;
  5.  
  6.  
  7. ICursor cursor;
  8. selSet.Search(null, true, out cursor);
  9.  
  10. IFeature feat = ((IFeatureCursor)cursor).NextFeature();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement