Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IDocument doc = ArcMap.Application.Document;
- IMxDocument mxDoc = doc as IMxDocument;
- IMap map = mxDoc.FocusMap;
- ILayer mapLayer = map.get_Layer(0);
- IFeatureClass c = (mapLayer as IFeatureLayer).FeatureClass;
Add Comment
Please, Sign In to add comment