ProtectedRangeCollectionAdd Method

Adds a ProtectedRange item to the collection.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.6.0.0 (21.6)
Syntax
public int Add(
	string name,
	int startRow,
	int startColumn,
	int endRow,
	int endColumn
)

Parameters

name
Type: SystemString
Range title. This is used as a descriptor, not as a named range definition.
startRow
Type: SystemInt32
Start row index of the range.
startColumn
Type: SystemInt32
Start column index of the range.
endRow
Type: SystemInt32
End row index of the range.
endColumn
Type: SystemInt32
End column index of the range.

Return Value

Type: Int32
object index.
See Also