IBMPExport
Hierarchy Properties Methods
Type Library
TeeChartx
Description
Use BMPExport to create and export the TeeChart in BMP format. The Class returns default export characteristics to be used when exporting a BMP image of the Chart.
Example [Delphi]
Uses TeeBMPOptions;
procedure TForm1.BitBtn1Click(Sender: TObject);
var tmp:TBMPExportFormat;
begin
tmp:= TBMPExportFormat.Create;
tmp.Panel:=Chart1;
tmp.SaveToFile('c:\tempCharts\Chart1BMP.' + tmp.FileExtension);
end;
[Visual Basic]
Private Sub Command1_Click()
With TChart1.Export.asBMP
.Colors = pf32bit
.Height = 400
.Width = 600
.SaveToFile "C:\tempCharts\Chart1.bmp"
End With
End Sub