Saving graph data

You can copy a bitmap image of the graph to the system clipboard and paste it into an application such as Microsoft Paint, Visio, or Jasc Paint Shop Pro, using the GraphicObjectGraph Copy method:

Private Sub btncopy_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCopy.Click

   Dim gobGraph As Sybase.DataWindow.GraphicObjectGraph

   gobGraph = CType(dw1.GetObjectByName("gr_1"),  _
      Sybase.DataWindow.GraphicObjectGraph)
   gobGraph.Copy()
End Sub