WorksheetProtection

WorksheetProtection

Overview

WorksheetProtection is a class in Aspose.Cells FOSS for C++.

Represents worksheet protection.

This class provides 33 methods for working with WorksheetProtection objects in C++ programs. Available methods include: GetAutoFilter, GetDeleteColumns, GetDeleteRows, GetFormatCells, GetFormatColumns, GetFormatRows, GetInsertColumns, GetInsertHyperlinks, GetInsertRows, GetIsProtected, GetObjects, GetPivotTables, and 21 additional methods. All public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

Methods

SignatureDescription
GetIsProtected()boolGets or sets a value indicating whether protected.
SetIsProtected(value: bool)Sets the is protected value.
GetObjects()boolGets or sets a value indicating whether objects.
SetObjects(value: bool)Sets the objects value.
GetScenarios()boolGets or sets a value indicating whether scenarios.
SetScenarios(value: bool)Sets the scenarios value.
GetFormatCells()boolGets or sets a value indicating whether format cells.
SetFormatCells(value: bool)Sets the format cells value.
GetFormatColumns()boolGets or sets a value indicating whether format columns.
SetFormatColumns(value: bool)Sets the format columns value.
GetFormatRows()boolGets or sets a value indicating whether format rows.
SetFormatRows(value: bool)Sets the format rows value.
GetInsertColumns()boolGets or sets a value indicating whether insert columns.
SetInsertColumns(value: bool)Sets the insert columns value.
GetInsertRows()boolGets or sets a value indicating whether insert rows.
SetInsertRows(value: bool)Sets the insert rows value.
GetInsertHyperlinks()boolGets or sets a value indicating whether insert hyperlinks.
SetInsertHyperlinks(value: bool)Sets the insert hyperlinks value.
GetDeleteColumns()boolGets or sets a value indicating whether delete columns.
SetDeleteColumns(value: bool)Sets the delete columns value.
GetDeleteRows()boolGets or sets a value indicating whether delete rows.
SetDeleteRows(value: bool)Sets the delete rows value.
GetSelectLockedCells()boolGets or sets a value indicating whether select locked cells.
SetSelectLockedCells(value: bool)Sets the select locked cells value.
GetSort()boolGets or sets a value indicating whether sort.
SetSort(value: bool)Sets the sort value.
GetAutoFilter()boolGets or sets a value indicating whether auto filter.
SetAutoFilter(value: bool)Sets the auto filter value.
GetPivotTables()boolGets or sets a value indicating whether pivot tables.
SetPivotTables(value: bool)Sets the pivot tables value.
GetSelectUnlockedCells()boolGets or sets a value indicating whether select unlocked cells.
SetSelectUnlockedCells(value: bool)Sets the select unlocked cells value.
Reset()Resets all protection settings to their defaults.

See Also

 English