Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

Saving chart as png

 Post Reply Post Reply
Author
Kraemer Guenter View Drop Down
Senior Member
Senior Member
Avatar

Joined: 01 May 2014
Posts: 165
Post Options Post Options   Quote Kraemer Guenter Quote  Post ReplyReply Direct Link To This Post Topic: Saving chart as png
    Posted: 26 Sep 2015 at 7:43am
AdvChartView1.Panes[0].Chart.SaveToImage(SavePictureDialog1.FileName, 1000, 500, itPNG);

wont work, itPNG definition not found. And even I set it to 0, I get "too many actual parameters", because it only expect filename and size. So how can I select to save as png or jpg for example?
Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 7966
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Posted: 26 Sep 2015 at 8:48am
Did you add the unit AdvChartGDIP to the uses clause?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down