Page 1 of 1
export to .pdf and .jpg file (ASP.Net)
Posted: Wed Mar 19, 2008 11:28 am
by 13047639
Hi,
I'm using TeeChart and ASP.Net 2.0.
How I can export my chart to .pdf and .jpg file?
Regards.
Leszek
Posted: Wed Mar 19, 2008 11:53 am
by narcis
Hi Leszek,
The easiest way is doing this:
Code: Select all
WebChart1.Chart.Export.Image.JPEG.Save(JPGfilename);
WebChart1.Chart.Export.Image.PDF.Save(PDFfilename);
For further information please read
Tutorial 12 - Exporting and Importing Charts. You'll find the tutorials at TeeChart's program group.
Posted: Wed Mar 19, 2008 1:36 pm
by 13047639
Hi Narcis,
Thank you for answer.
I have next question. How I can print web TeeChart?
Regards.
Leszek
Posted: Wed Mar 19, 2008 2:06 pm
by 13047639
I have next problem
When I'm writing teeChart to pdf file :
myChart1.Chart.Export.Image.PDF.Save("c:/myChart1.pdf");
I have message:
"The font 'Verdana' contains a bad /BBox"
myChart1.pdf contain chart but without axis's notations.
Thanks.
Leszek
Posted: Wed Mar 19, 2008 2:14 pm
by narcis
Hi Leszek,
The easiest way is using browser printing facilities. You can also use this: