您好,
使用以下代码,没有能够重现这个问题,您看下我是否遗漏了哪些步骤:
- this.fpSpread1.ActiveSheet.SetValue(0, 0, 1);
- this.fpSpread1.ActiveSheet.SetValue(0, 1, 2);
- this.fpSpread1.ActiveSheet.SetValue(0, 2, 3);
- this.fpSpread1.ActiveSheet.Columns[1].Visible = false;
复制代码
- private void button1_Click(object sender, EventArgs e)
- {
- FarPoint.Win.Spread.PrintInfo printset = new FarPoint.Win.Spread.PrintInfo();
- printset.Preview = true;
- fpSpread1.ActiveSheet.PrintInfo = printset;
- fpSpread1.PrintSheet(0);
- }
复制代码
2015-09-07_140819.jpg
(33.43 KB, 下载次数: 83)
|