We just upgrdaed from TeeChart8 to TeeChart2013. With TeeChart8, we were maing the following call:
GetExport().SaveToJPEGFile(pszFileName, FALSE, jpegBestQuality, 100, 300, 200);
With TeeChart2013, this fails since CExport::SaveToJPEGFile has been modified to takein an extra argument long DPI as follows:
CExport::SaveToJPEGFile(LPCTSTR FileName, BOOL Gray, long Performance, long Quality, long Width, long Height, long DPI)
What should be passed for this argument? I can't find anything in TeeChart help docs.
CExport::SaveToJPEGFile call causes compile to fail
Re: CExport::SaveToJPEGFile call causes compile to fail
This is urgent since we are not able to compile our code and release it.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: CExport::SaveToJPEGFile call causes compile to fail
This is parameter is the Dots per inch (DPI) for printing an image. Default value is 0. I strongly recommend you to read The Myth of DPI article. to get a clear idea of what that means.rsharma wrote: With TeeChart2013, this fails since CExport::SaveToJPEGFile has been modified to takein an extra argument long DPI as follows:
CExport::SaveToJPEGFile(LPCTSTR FileName, BOOL Gray, long Performance, long Quality, long Width, long Height, long DPI)
What should be passed for this argument? I can't find anything in TeeChart help docs.
In that case you might be interested in the Pro Support service explained here.rsharma wrote:This is urgent since we are not able to compile our code and release it.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |