Page 1 of 1

Cannot export to JPG, or other formats

Posted: Tue Aug 08, 2006 10:45 am
by 9241982
Hello guys.

I've purchased and installed the TeeChart pro v7.07.

I made a chart, and now I want to let the user see the export dialog.

I use:
TeeExport(_ownerForm,_graph);

But I can only export to bitmap and metafile... I can't export to the other formats.

In the TeeChart examples (The big example, with all the features) the export works for all file types.

What am I doing wrong?

Ron.

Posted: Tue Aug 08, 2006 2:12 pm
by Pep
Hi Ron,

to allow the exportation to other formats at runtime you must add the export units to the uses (or as include) :
uses
TeePNG, teeGIF, ...

or

#include "TeePNG.hpp"
#pragma link "TeePNG"

Posted: Tue Aug 08, 2006 2:15 pm
by 9241982
Okay, thanks. It works.

Strange behavior, but thanks for ultra-quick support ;-)

Ron.