How to draw a circle (round) on the mapcontrol using C# ?

3166
2
Jump to solution
03-15-2013 05:09 PM
Highlighted
by
Occasional Contributor II
Hi,

Are there anyone know how to draw the below circle using C# ?

[ATTACH=CONFIG]22664[/ATTACH]

Thanks and regards,

Tai
Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
MVP Frequent Contributor
you have some options:

 ISegmentCollection segmentCollection = new PolygonClass(); segmentCollection.SetCircle(point, 10); IGeometry circle = segmentCollection as IGeometry; 


or you can cast the point to ITopologicalOperator  and use buffer

or you can rotate a vector from a center point

or use EllipticArcClass

and so on..

View solution in original post

Reply
0 Kudos
2 Replies
Highlighted
MVP Frequent Contributor
you have some options:

 ISegmentCollection segmentCollection = new PolygonClass(); segmentCollection.SetCircle(point, 10); IGeometry circle = segmentCollection as IGeometry; 


or you can cast the point to ITopologicalOperator  and use buffer

or you can rotate a vector from a center point

or use EllipticArcClass

and so on..

View solution in original post

Reply
0 Kudos
Highlighted
by
Occasional Contributor II
you have some options:



ISegmentCollection segmentCollection = new PolygonClass();
segmentCollection.SetCircle(point, 10);
IGeometry circle = segmentCollection as IGeometry;



or you can cast the point to ITopologicalOperator  and use buffer

or you can rotate a vector from a center point

or use EllipticArcClass

and so on..


Thank you very much. I can do now 😄
Reply
0 Kudos