Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to create sector in ArcObject 10.1? Now I draw one point, two lines, two arks. But I think it is not good. It is differents objects. I need one object.

Well. Now I drawing:

IElementCollection coll = new ElementCollection();
CreateSector(mapSector, ref first, ref second, ref third, ref firstInner, ref secondInner, ref thirdInner); // find 3 points on external arc and 3 points on internal arc
IElement elementPolygon = CreateSector_Polygon(mapSector, first, second, third, firstInner, secondInner, thirdInner, polygonSectorColor);// create polygon
coll.Add(elementPolygon, -1);
// draw sector on the map
Map1.ActiveView.GraphicsContainer.AddElements(coll, 0);
Map1.ActiveView.PartialRefresh(esriViewDrawPhase.esriViewGraphics, coll, Map1.ActiveView.Extent);
share|improve this question
Here is some VBA code I wrote to do this. – Kirk Kuykendall Jul 5 '13 at 12:24
Well, I draw sector as one figure (I use IElementCollection). But i don't know how to set trasparency of polygon. Is it real? – novicegis Jul 11 '13 at 9:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.