## GridWorksheet.SetReadonlyRange method

Makes a range of cells readonly. http://docs.aspose.com:8082/docs/display/cellsnet/Protecting+Cells First make all cells editable by calling the SetAllCellsEditable method. then call this method to Specify the range of cells that to be readonly

```csharp
public void SetReadonlyRange(int startRow, int startColumn, int rows, int columns)
```

| Parameter | Type | Description |
| --- | --- | --- |
| startRow | Int32 | The start row of the range. |
| startColumn | Int32 | The start column of the range. |
| rows | Int32 | The number of the rows. |
| columns | Int32 | The number of the columns. |

### See Also

* class [GridWorksheet](../)
* namespace [Aspose.Cells.GridWeb.Data](../../../aspose.cells.gridweb.data/)
* assembly [Aspose.Cells.GridWeb](../../../)


