public IGraphic newPoint(double x, double y, ISpatialReference spatialReference) { IS3Graphic g = new IS3Graphic(); g.Geometry = new IS3MapPoint(x, y, spatialReference); return(g); }
public IGraphic newPoint(double x, double y) { IS3Graphic g = new IS3Graphic(); g.Geometry = new IS3MapPoint(x, y); return(g); }
public IGraphic newGraphic(IGeometry geom) { IS3Graphic g = new IS3Graphic(); g.Geometry = geom; return(g); }
public IGraphic newPolyline(IPointCollection part) { IS3Polyline pline = new IS3Polyline(part); IS3Graphic g = new IS3Graphic(); g.Geometry = pline; return(g); }
public IGraphic newPolygon(IPointCollection part) { IS3Polygon pgon = new IS3Polygon(part); IS3Graphic g = new IS3Graphic(); g.Geometry = pgon; return(g); }
public IGraphic newText(string text, IMapPoint p, Color color, string fontName, double fontSize) { IS3TextSymbol textSymbol = new IS3TextSymbol(); textSymbol.Text = text; textSymbol.Color = color; IS3SymbolFont font = new IS3SymbolFont(fontName, fontSize); textSymbol.Font = font; IS3Graphic g = new IS3Graphic(); g.Symbol = textSymbol; g.Geometry = p; return(g); }