TdxSpreadSheetCustomProtectionInfo.Password Property
Returns a password used to protect a single worksheet or the spreadsheet document structure.
Declaration
property Password: string read;
Property Value
Type |
---|
string |
Remarks
You can use this property to obtain a protection password whose hash value is calculated by a particular spreadsheet protection provider.
To assign a specific password for protecting a worksheet or the loaded document’s structure, you need to call the protection provider’s constructor with the required password string passed as its parameter.
End-users can assign a protection password by using the Protect Sheet and Protect Structure dialogs invoked by executing the ProtectSheet and ProtectWorkbook commands, respectively.
For detailed information on working with spreadsheet protection providers, refer to the Spreadsheet Document Structure Protection and Worksheet Protection sections of the Password Protection topic.