GridCells.SetStyle
Contents
[
Hide
]SetStyle(string, GridTableItemStyle)
Sets the style to a specified range of cells.
public void SetStyle(string cellRange, GridTableItemStyle style)
| Parameter | Type | Description | 
|---|---|---|
| cellRange | String | The range of cells’ names, like “A1:D6” | 
| style | GridTableItemStyle | The style object to be set | 
See Also
- class GridTableItemStyle
 - class GridCells
 - namespace Aspose.Cells.GridWeb.Data
 - assembly Aspose.Cells.GridWeb
 
SetStyle(int, int, int, int, GridTableItemStyle)
Sets the style to a specified range of cells.
public void SetStyle(int firstRow, int firstColumn, int rowNumber, int columnNumber, 
    GridTableItemStyle style)
| Parameter | Type | Description | 
|---|---|---|
| firstRow | Int32 | First row of this range(zero based) | 
| firstColumn | Int32 | First column of this range(zero based) | 
| rowNumber | Int32 | Number of rows(one based) | 
| columnNumber | Int32 | Number of columns(one based) | 
| style | GridTableItemStyle | The style object to be set | 
See Also
- class GridTableItemStyle
 - class GridCells
 - namespace Aspose.Cells.GridWeb.Data
 - assembly Aspose.Cells.GridWeb