## SetStyle(int, int, int, int, GridTableItemStyle) {#setstyle}

Устанавливает стиль для указанного диапазона ячеек.

```csharp
public void SetStyle(int firstRow, int firstColumn, int rowNumber, int columnNumber, 
    GridTableItemStyle style)
```

| Параметр | Тип | Описание |
| --- | --- | --- |
| firstRow | Int32 | Первая строка этого диапазона (с нуля) |
| firstColumn | Int32 | Первый столбец этого диапазона (с нуля) |
| rowNumber | Int32 | Количество рядов (на основе одного) |
| columnNumber | Int32 | Количество столбцов (на основе одного) |
| style | GridTableItemStyle | Устанавливаемый объект стиля |

### Смотрите также

* class [GridTableItemStyle](../../../aspose.cells.gridweb/gridtableitemstyle)
* class [GridCells](../../gridcells)
* пространство имен [Aspose.Cells.GridWeb.Data](../../gridcells)
* сборка [Aspose.Cells.GridWeb](../../../)

---

## SetStyle(string, GridTableItemStyle) {#setstyle_1}

Устанавливает стиль для указанного диапазона ячеек.

```csharp
public void SetStyle(string cellRange, GridTableItemStyle style)
```

| Параметр | Тип | Описание |
| --- | --- | --- |
| cellRange | String | Диапазон имен ячеек, например "A1:D6" |
| style | GridTableItemStyle | Устанавливаемый объект стиля |

### Смотрите также

* class [GridTableItemStyle](../../../aspose.cells.gridweb/gridtableitemstyle)
* class [GridCells](../../gridcells)
* пространство имен [Aspose.Cells.GridWeb.Data](../../gridcells)
* сборка [Aspose.Cells.GridWeb](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.GridWeb.dll -->
