回复 1楼Alice的帖子
图片上红框的位置是corner区域。
你可以通过SheetCorner.Cells来获取到这个位置。
代码参考:
# Copy Code
- fpSpread1.ActiveSheet.AllowTableCorner = true;
- fpSpread1.ActiveSheet.SheetCorner.ColumnCount = 1;
- fpSpread1.ActiveSheet.SheetCorner.RowCount = 1;
- fpSpread1.ActiveSheet.SheetCorner.Cells[0, 0].Text="设备名称";
复制代码
VB Copy Code
- FpSpread1.ActiveSheet.AllowTableCorner = True
- FpSpread1.ActiveSheet.SheetCorner.ColumnCount = 1
- FpSpread1.ActiveSheet.SheetCorner.RowCount = 1
- FpSpread1.ActiveSheet.SheetCorner.Cells(1, 2).Text= "设备名称"
复制代码 |