回复 1楼senyugo的帖子
抱歉,我测试的结果未能发现您的问题,我测试代码如下:
- void Load(object sender, EventArgs e)
- {
- for (int i = 0; i < 30; i++)
- {
- for (int j = 0; j < 500; j++)
- {
- fpSpread1.ActiveSheet.Cells[j, i].Text = "Test Data";
- }
- }
- FarPoint.Win.Spread.PrintInfo printset = new FarPoint.Win.Spread.PrintInfo();
- printset.Preview = true;
- fpSpread1.Sheets[0].PrintInfo = printset;
- fpSpread1.PrintSheet(0);
- this.Close();
- }
复制代码 |