Point2Ds point2Ds = new Point2Ds();
point2Ds.Add(new Point2D(0,0));
point2Ds.Add(new Point2D(100,100));
GeoLine geoLine = new GeoLine(point2Ds);
SymbolMarker marker = new SymbolMarker();
marker.FromGeometry(geoLine, new Rectangle2D(new Point2D(0, 0), new Point2D(100, 100)));
marker.Name = "330105";
marker.Origin =new Point(50, 50);
marker.Size = 6;
int index = m_workspace.Resources.MarkerLibrary.Add(marker);