我最近需要使用vsView中的vsReport和vsPrinter控件做一个产品的报表,需要通过WebService请求得到报表的格式定义文件,和请求返回的需要打印的数据,生成用户需要的打印报表,在以后需要的时候,还可以让用户自己定义报表的格式。请问大家,有谁使用过VsReport和vsPrinter,有好的方法和经验可以介绍一些的? My MSN:haitao_624@hotmail.com
关于VsReport的Height and RenderHeight. The last property is used when your report section set the CanGrow and CanShrink to True. It will be re-calculated after the vsReport-OnForm event. The former property is the fixed height that you made in the Report-definition file.
一般地,使用VsView自带的报表定义程序生成的报表格式定义文件,它的Xml中的encoding是某一个阿拉伯国家的通用格式标准。如果需要在报表中使用到中文汉字的话,是需要手工打开报表格式的Xml定义文件,修改<? xml version="1.0" encoding="gb2312" ?>,就可以使它显示中文了。