Hi Can you point me to a VB example of how to export a chart as a PDF in the latest version of Netadvantage for winforms. I need to create the chart in code and save it as a PDF without user intervention.
Thanks
http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/Chart_Export_to_PDF.html
This URL can no longer be found
Hello there,
somewhat related issue I have. I have 2 charts on my PDF page but they appear 1 below the other.
How can I get them to appear next to each other on the page?
Deasun
Hello wltaylor,
I believe that you could find the mentioned information at the following link:
http://help.infragistics.com/NetAdvantage/WinForms/current/CLR2.0/?page=Chart_Export_to_PDF.html
If you have any other questions please feel free to let us know.
Hi David
Are there any format settings I can make to the PDF? I would like the chart to be landscape, currently I only get a portrait view that I can't seem to change. Cheers
That worked great. Thank you
i'm no expert on the documents library, but i'm going to make an educated guess and say you need to reference the Section object and set its PageOrientation property to Landscape.
so change this:
Dim g As Graphics = r.AddSection().AddCanvas().CreateGraphics()UltraChart1.RenderPdfFriendlyGraphics(g)
Dim
As
to this:
Dim s As ISection = r.AddSection()
s.PageOrientation = PageOrientation.Landscape
Dim g As Graphics = s.AddCanvas().CreateGraphics()UltraChart1.RenderPdfFriendlyGraphics(g)