GridWorksheet.SetReadonlyRange

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

public void SetReadonlyRange(int startRow, int startColumn, int rows, int columns)
ParameterTypeDescription
startRowInt32The start row of the range.
startColumnInt32The start column of the range.
rowsInt32The number of the rows.
columnsInt32The number of the columns.

See Also