Hi, I call TeeExport(FormMain, graph_); from my code but the only export formats that I can see are asBitmap and asMetafile.
How do I get the other formats displayed ?
I have included the following hearders :-
#include <TeeJPEG.hpp>
#include <TeeGIF.hpp>
#include <TeePNG.hpp>
#include <TeExport.hpp>
I have TeeChart V7.04 installed. All formats are visible when looking at the TeeChart Pro 7 program.
Thanks for any help,
Brett
TeeExport
Hi.
For BCB, adding only the #include won't work. You also have to add the #pragma link statements. In your case:
For BCB, adding only the #include won't work. You also have to add the #pragma link statements. In your case:
Code: Select all
#include <TeeJPEG.hpp>
#include <TEEPNG.hpp>
#pragma link "TeeJPEG"
#pragma link "TeePNG"
Marjan Slatinek,
http://www.steema.com
http://www.steema.com
Thanks for that information....thats sorted the problem.
So is there a BCB help file that covers this sort of thing or is this just an oversight in the documentation ?
Regards,
Brett
So is there a BCB help file that covers this sort of thing or is this just an oversight in the documentation ?
Regards,
Brett
Marjan wrote:Hi.
For BCB, adding only the #include won't work. You also have to add the #pragma link statements. In your case:Code: Select all
#include <TeeJPEG.hpp> #include <TEEPNG.hpp> #pragma link "TeeJPEG" #pragma link "TeePNG"
It's an oversight in the documentation, but this feature is demonstrated (with source code) in TeeChart VCL BCB demo.
Marjan Slatinek,
http://www.steema.com
http://www.steema.com