回复 1楼dkings的帖子
请使用以下代码测试:
- gcSpreadSheet1.AddColumnViewport(0, 100);
- gcSpreadSheet1.AddRowViewport(0, 80);
- gcSpreadSheet1.RowSplitBoxAlignment = GrapeCity.Windows.SpreadSheet.UI.SplitBoxAlignment.Leading;
- gcSpreadSheet1.ColumnSplitBoxAlignment = GrapeCity.Windows.SpreadSheet.UI.SplitBoxAlignment.Trailing;
- gcSpreadSheet1.Sheets[0].SetViewportHeight(0, 100);
- gcSpreadSheet1.Sheets[0].SetViewportWidth(0, 100);
- gcSpreadSheet1.Invalidate();
复制代码 |