public CurveGraphics DrawCurve( object curve, GraphicsNode node) { try { AdnGraphics graphicsData = WorkingGraphics; if (node == null) { node = graphicsData.ClientGraphics.AddNode( graphicsData.GetGraphicNodeFreeId()); } CurveGraphics graphic = node.AddCurveGraphics(curve); return(graphic); } catch { return(null); } }
public CurveGraphics DrawCurve( object curve, GraphicsNode node) { try { AdnGraphics graphicsData = WorkingGraphics; if (node == null) { node = graphicsData.ClientGraphics.AddNode( graphicsData.GetGraphicNodeFreeId()); } CurveGraphics graphic = node.AddCurveGraphics(curve); return graphic; } catch { return null; } }