Guest User

Untitled

a guest
Jun 18th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. IDocument doc = ArcMap.Application.Document;
  2. IMxDocument mxDoc = doc as IMxDocument;
  3. IMap map = mxDoc.FocusMap;
  4. ILayer mapLayer = map.get_Layer(0);
  5. IFeatureClass c = (mapLayer as IFeatureLayer).FeatureClass;
Add Comment
Please, Sign In to add comment