回复 1楼mm640803的帖子
你好,
该问题我通过 Spread 8.1 已经重现了,目前正在寻找解决方法,重现代码:
- public MainPage()
- {
- InitializeComponent();
- gcSpreadSheet1.Sheets[0].Cells[1, 1].Value = "testAutoFit\ntestAutoFit\ntestAutoFit\ntestAutoFit";
- gcSpreadSheet1.Sheets[0].Cells[1, 1].FontSize = 14;
- gcSpreadSheet1.Sheets[0].AddSpanCell(new GrapeCity.Windows.SpreadSheet.Data.CellRange(1, 1, 2, 1), GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells);
- gcSpreadSheet1.Invalidate();
- }
- private void button1_Click(object sender, RoutedEventArgs e)
- {
- gcSpreadSheet1.AutoFitColumn(1);
- gcSpreadSheet1.AutoFitRow(1);
- }
复制代码
有进一步结果会反馈给你。 |