SetReadonlyRange
GridWorksheet.SetReadonlyRange method
使一系列单元格只读。 http://docs.aspose.com:8082/docs/display/cellsnet/Protecting+Cells 首先通过调用SetAllCellsEditable方法使所有单元格可编辑。 然后调用此方法指定要只读的单元格范围
public void SetReadonlyRange(int startRow, int startColumn, int rows, int columns)
| 范围 | 类型 | 描述 |
|---|---|---|
| startRow | Int32 | 范围的起始行。 |
| startColumn | Int32 | 范围的起始列。 |
| rows | Int32 | 行数。 |
| columns | Int32 | 列数。 |