回复 8楼morndew的帖子
你可以在导出Excel时使用5楼的代码设置:
- private void 导出ToolStripMenuItem_Click(object sender, EventArgs e)
- {
- fpSpread1.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
- fpSpread1.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
- fpSpread1.SaveExcel("test.xls");
- }
复制代码 |