ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Chart to .PDF?
Posted by chuck on Aug-11-2020 01:22
Hello Peter,

Can a Chart Director Chart be saved to a .PDF? Do you have a VB.Net example of this you can share?

Thank you,
Chuck

  Re: Chart to .PDF?
Posted by Peter Kwan on Aug-11-2020 02:48
Hi Chuck,

Some of the sample code included in ChartDirector allows you to save the chart as PDF. For example:

https://www.advsofteng.com/doc/cdnet.htm#realtimezoomscroll.htm

The "Save" button in the above example allows you to save the chart in various formats, including PDF.

In brief, the code is:

myChart.makeChart("c:pathtoaaa.pdf")

Regards
Peter Kwan

  Re: Chart to .PDF?
Posted by Peter Kwan on Aug-11-2020 02:49
Hi Chuck,

The forum software remove the backslashes from my code. The code should be:

myChart.makeChart("c:\path\to\aaa.pdf")

Regards
Peter Kwan

  Re: Chart to .PDF?
Posted by chuck on Aug-11-2020 03:26

Awesome, TY Peter!
Chuck