了解了,单元格格式这个对话框是有的
https://www.grapecity.com/spread ... ight=formatcells%2C
调用代码如下
- IWorkbook wb = fpSpread2.AsWorkbook();
- var cellrange = fpSpread2.ActiveSheet.GetSelection(0);
- if (cellrange != null)
- {
- var cellref = new Reference(cellrange.Row,
- cellrange.Column,
- cellrange.Row + cellrange.RowCount - 1,
- cellrange.Column + cellrange.ColumnCount - 1);
- FormatCells fcd = new FormatCells(wb.ActiveSheet, cellref, FormatCells.FormatCellsTab.Number);
- fcd.ShowDialog();
- }
复制代码
|