TeeChart经验总结 13.Export之2.对象保存

这一小节很简单,就几个函数.
Binary:

 1 //uses TeeExport;   
2 Procedure SaveTeeToFile(APanel:TCustomTeePanel; Const AName:String);
3 Procedure SaveTeeToStream(APanel:TCustomTeePanel; AStream:TStream);
4 //uses TeeStore;
5 //TextFormat = False;
6 Procedure SaveChartToFile(AChart:TCustomChart; Const AFileName:String;
7 IncludeData:Boolean=True;
8 TextFormat:Boolean=False);
9 Procedure SaveChartToStream(AChart:TCustomChart; AStream:TStream;
10 IncludeData:Boolean=True;
11 TextFormat:Boolean=False);

Text:

1 //uses TeeStore;   
2 //TextFormat = True;
3 Procedure SaveChartToFile(AChart:TCustomChart; Const AFileName:String;
4 IncludeData:Boolean=True;
5 TextFormat:Boolean=False);
6 Procedure SaveChartToStream(AChart:TCustomChart; AStream:TStream;
7 IncludeData:Boolean=True;
8 TextFormat:Boolean=False);

XML:

1 //uses TeeStore;   
2 Procedure SaveChartToXMLFile(AChart:TCustomChart; Const AFileName:String;
3 IncludeData:Boolean=True;
4 XMLHeader:Boolean=True);
5 Procedure SaveChartToXMLStream(AChart:TCustomChart; AStream:TStream;
6 IncludeData:Boolean=True;
7 XMLHeader:Boolean=True);
原文地址:https://www.cnblogs.com/solokey/p/2118701.html