Cannot export to JPG, or other formats

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
mertero
Newbie
Newbie
Posts: 4
Joined: Mon Jul 24, 2006 12:00 am

Cannot export to JPG, or other formats

Post by mertero » Tue Aug 08, 2006 10:45 am

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.

Pep
Site Admin
Site Admin
Posts: 3299
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Aug 08, 2006 2:12 pm

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"

mertero
Newbie
Newbie
Posts: 4
Joined: Mon Jul 24, 2006 12:00 am

Post by mertero » Tue Aug 08, 2006 2:15 pm

Okay, thanks. It works.

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

Ron.

Post Reply