您好,
可以使用- private void button1_Click(object sender, EventArgs e)
- {
- FarPoint.Win.Spread.PrintInfo printset = new FarPoint.Win.Spread.PrintInfo();
- printset.ShowPrintDialog = true;
- //printset.AbortMessage = "Do you want to cancel the printing?";
- //printset.Preview = true;
- // Assign the printer settings to the sheet and print it
- fpSpread1.Sheets[0].PrintInfo = printset;
- fpSpread1.PrintSheet(0);
- }
复制代码
打印里面有个首选项,看下默认纸张的大小
2015-06-09_100800.jpg
(20.62 KB, 下载次数: 743)
|