Beispiel #1
0
 private static void DrawLine(IGroupElement3 group, IPolyline line)
 {
     //LineGraphics (LineElementClass) will only accept IPolyline (not ILine)
     var element = new LineElementClass { Geometry = line };
     group.AddElement(element);
 }
Beispiel #2
0
 private static void DrawLabel(IGroupElement3 group, string label, IPoint point)
 {
     var text = new TextElementClass
     {
         AnchorPoint = esriAnchorPointEnum.esriCenterPoint,
         Text = label,
         Geometry = point
     };
     group.AddElement(text);
 }