SetStyle
内容
[
隐藏
]SetStyle(int, int, int, int, Style)
将样式设置为指定范围的单元格。
public void SetStyle(int firstRow, int firstColumn, int rowNumber, int columnNumber, Style style)
| 范围 | 类型 | 描述 |
|---|---|---|
| firstRow | Int32 | 此范围的第一行(从零开始) |
| firstColumn | Int32 | 此范围的第一列(从零开始) |
| rowNumber | Int32 | 行数(基于一个) |
| columnNumber | Int32 | 列数(基于一个) |
| style | Style | 要设置的样式对象 |
也可以看看
- class Style
- class GridCells
- 命名空间 Aspose.Cells.GridDesktop.Data
- 部件 Aspose.Cells.GridDesktop
SetStyle(string, Style)
将样式设置为指定范围的单元格。
public void SetStyle(string cellRange, Style style)
| 范围 | 类型 | 描述 |
|---|---|---|
| cellRange | String | 单元格名称的范围,例如“A1:D6” |
| style | Style | 要设置的样式对象 |
也可以看看
- class Style
- class GridCells
- 命名空间 Aspose.Cells.GridDesktop.Data
- 部件 Aspose.Cells.GridDesktop
SetStyle(CellRange, Style)
将样式设置为指定范围的单元格。
public void SetStyle(CellRange cellRange, Style style)
| 范围 | 类型 | 描述 |
|---|---|---|
| cellRange | CellRange | 细胞范围 |
| style | Style | 要设置的样式对象 |
也可以看看
- class CellRange
- class Style
- class GridCells
- 命名空间 Aspose.Cells.GridDesktop.Data
- 部件 Aspose.Cells.GridDesktop