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?
Populating TeeExport with various graphics formats
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:
to the Uses section. Similar goes for C++ Builder:
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;
Code: Select all
#include "TeeJpeg.hpp"
#include "TeePDFCanvas.hpp"
Marjan Slatinek,
http://www.steema.com
http://www.steema.com