Populating TeeExport with various graphics formats

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
reef
Newbie
Newbie
Posts: 2
Joined: Wed Mar 08, 2006 12:00 am

Populating TeeExport with various graphics formats

Post by reef » Thu Aug 09, 2007 12:32 am

When I run the TChart demo, there are a bunch of export formats - they all show up. However, when I create an export dialog box myself:

TeeExport(this,Chart1);

I only see three formats (Metafile, PNG, and bitmap).

Any suggestions as to how I can get the rest of the export formats to show up?

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Thu Aug 09, 2007 6:13 am

Hi.

To add additional export formats at runtime, all you have to do is include specific export units in the Uses section. For example, if you want to add jpeg and pdf export formats, add:

Code: Select all

Uses ..., TeeJpeg, TeePDFCanvas;
to the Uses section. Similar goes for C++ Builder:

Code: Select all

#include "TeeJpeg.hpp"
#include "TeePDFCanvas.hpp"
Marjan Slatinek,
http://www.steema.com

Post Reply