Worksheet.SetProtected
Worksheet.SetProtected method
Sets cellRange whether it is protected.this is an extended method used only in Grid. This method has nothing to do with the cell.Style.CellLocked property It will not take affect after save to excel file.
public void SetProtected(CellRange range, bool isProtected)
Parameter | Type | Description |
---|---|---|
range | CellRange | CellRange object. |
isProtected | Boolean | Bool value to be set. |
See Also
- class CellRange
- class Worksheet
- namespace Aspose.Cells.GridDesktop
- assembly Aspose.Cells.GridDesktop