In C#/ArcObjects, is it possible to get the geometry of the polygon that is used to select features in ArcMap? For example, when you select point features with a polygon, how do you get the geometry of that polygon?
Thank for your help!
In C#/ArcObjects, is it possible to get the geometry of the polygon that is used to select features in ArcMap? For example, when you select point features with a polygon, how do you get the geometry of that polygon?
Thank for your help!
IMxDocument doc = ArcMap.Document;
IMap map = doc.FocusMap;
selectedPolygon = map.SelectedObjects(new List<esriGeometryType> {
esriGeometryType.esriGeometryPolygon
});