Aspose::Cells::ProtectedRangeCollection::Add method

ProtectedRangeCollection::Add(const U16String&, int32_t, int32_t, int32_t, int32_t) method

Adds a ProtectedRange item to the collection.

int32_t Aspose::Cells::ProtectedRangeCollection::Add(const U16String &name, int32_t startRow, int32_t startColumn, int32_t endRow, int32_t endColumn)
ParameterTypeDescription
nameconst U16String&Range title. This is used as a descriptor, not as a named range definition.
startRowint32_tStart row index of the range.
startColumnint32_tStart column index of the range.
endRowint32_tEnd row index of the range.
endColumnint32_tEnd column index of the range.

ReturnValue

object index.

See Also

ProtectedRangeCollection::Add(const char16_t*, int32_t, int32_t, int32_t, int32_t) method

Adds a ProtectedRange item to the collection.

int32_t Aspose::Cells::ProtectedRangeCollection::Add(const char16_t *name, int32_t startRow, int32_t startColumn, int32_t endRow, int32_t endColumn)
ParameterTypeDescription
nameconst char16_t*Range title. This is used as a descriptor, not as a named range definition.
startRowint32_tStart row index of the range.
startColumnint32_tStart column index of the range.
endRowint32_tEnd row index of the range.
endColumnint32_tEnd column index of the range.

ReturnValue

object index.

See Also