• 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);
  • 相关阅读:
    Java异常简介
    mysql索引
    关于this问题
    Centos 7 安装jdk1.7
    Java 将html导出word格式
    tomcat生成ssl证书
    数据库连接池的作用
    jquery的异步获取返回值为中文时乱码解决方法
    JQuery中ajax跨域问题
    JAVA 非对称加密算法RSA
  • 原文地址:https://www.cnblogs.com/solokey/p/2118701.html
Copyright © 2020-2023  润新知