打印、打印预览问题
你好,在spread控件中如何将当前的表格的内容进行打印 或者是 打印预览 呢。我找了很久,好像没发现有这方面的接口。 回复 1楼qd98zhq的帖子Spread for WPF 8.0 提供了打印和打印预览功能,参考代码如下:
GcSpreadSheet1.SheetCount = 3;
GcSpreadSheet1.Sheets.SetText(0, 0, "test");
GcSpreadSheet1.Sheets.SetText(0, 0, "Page test");
GcSpreadSheet1.Sheets.SetText(0, 0, "Page 3 test");
GrapeCity.Windows.SpreadSheet.Data.PrintInfo printset = new GrapeCity.Windows.SpreadSheet.Data.PrintInfo();
printset.ShowBorder = true;
printset.ShowColumnHeader = GrapeCity.Windows.SpreadSheet.Data.VisibilityType.Show;
printset.ShowRowHeader = GrapeCity.Windows.SpreadSheet.Data.VisibilityType.Show;
printset.ShowGridLine = true;
printset.FooterCenter = "This is Page &P";
GcSpreadSheet1.Sheets.PrintInfo = printset;
GcSpreadSheet1.PrintPreview();
下载链接为:
http://d2.gcpowertools.com.cn/installation/SpreadStudio/8/SpreadforWPF-Silverlightv8.zip 我原来好像是7.0的,会不会对我之前的功能有影响呢,要不要重新注册呢 回复 3楼qd98zhq的帖子
功能是向下兼容的,不会受到影响。需要重新购买序列号激活。
具体的价格信息请咨询:029-88331988-600 联系人 ruby。
页:
[1]