Results 1 to 4 of 4

Thread: [B]How can I save a zedgraph into a image?[/B]

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    9

    [B]How can I save a zedgraph into a image?[/B]

    hello

    I can draw whit zedgraph but wath is the code for save a zedgraph into a image?




  2. #2
    Frenzied Member stimbo's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,739

    Re: [B]How can I save a zedgraph into a image?[/B]

    I found this in the documentation of zedGraph... you should check it out. It's not exactly what you are looking for but may offer some clues on how to achieve what you want.

    http://zedgraph.org/wiki/index.php?t...ater_reloading

    EDIT:

    There's also this page which may help:

    http://zedgraph.org/wiki/index.php?t...le_application

    It refers to: myPane.Image.Save although this is for version 4.3 so may not be relevant to the new version. I think for version 5 it's:

    vb Code:
    1. myPane.GetImage().Save(@"zedgraph.png", ImageFormat.Png);

    as also show in that code. Again though, the answer may be very close to that.
    Last edited by stimbo; Apr 4th, 2007 at 04:17 AM.
    Stim

    Free VB.NET Book Chapter
    Visual Basic 2005 Cookbook Sample Chapter

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    9

    Re: [B]How can I save a zedgraph into a image?[/B]

    thanks

    but i allready try this code

  4. #4
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    375

    Re: [B]How can I save a zedgraph into a image?[/B]

    i just tried it
    it works fine for me with:

    myPane.GetImage().Save("c:\image.png")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width