天软金融分析.NET函数大全 > 文档处理函数 > Word函数 > Word模板控制函数

WordWriteGraph    

简述
在Word中输出技术分析图,技术图形的输出效果与客户端显示的技术图形相同。除了Graph参数必需以外,其他参数可省略。
定义
WordWriteGraph ( Graph : 图形类别或者图形数组;[Title: String = ’’; AuxTitle: String = ’’ ; Width : integer = 400 ; Height : Integer = 300; BKColor : Integer = clBlack(); FGColor : Integer = clRed();FontName : String= ’宋体’ ; FontSize : Integer = 10; FontColor : Integer = clYellow(); CoordinateType : Integer = 0;LineWidth:Integer=1;PicType:Boolean=False] ) : Boolean;
参数
名称类型说明
Graph 图形类别或者图形数组图形类型或者图形数组类型。如果是图形数组类型则将数组内的多个图形组合在一起,例如:数组内含有K线,成交量,MACD线。此处图形类型包括TGraph 以及 TGraphGroup两种数据类型。
Title String = ’’:字符串类型。Graph的标题。缺省为空。
AuxTitle String = ’’ :字符串类型。Graph左上角位置的内容,通常用来显示周期。缺省为空。
Width integer = 400 整数类型,图形的宽度。缺省为400。
Height Integer = 300整数类型,图形的高度,缺省为300。
BKColor Integer = clBlack()整数类型,图形的背景色。缺省为黑色。
FGColor Integer = clRed()整数类型,图形的前景色(线框等的颜色)。缺省为红色。
FontName String= ’宋体’ 字符串类型,字体名。缺省为宋体。
FontSize Integer = 10整数类型,字体大小。缺省为10。
FontColor Integer = clYellow()整数类型,字体颜色。缺省为黄色。
CoordinateType Integer = 0整数类型,主图的坐标类型,0表示普通,1为对数坐标,2为百分比坐标。缺省为0。
LineWidthInteger=1整数类型,线的宽度。
PicTypeBoolean=False BOOL类型,为真时为WindowsMetaFile,为假时为BitMap
返回 Boolean 1表示成功。
    相关