TdxSpreadSheetCustomProtectionOptions.ProtectionInfo Property
Specifies the password protection provider and its settings applied an individual worksheet or the spreadsheet document structure.
Declaration
property ProtectionInfo: IdxSpreadSheetProtectionInfo read; write;
Property Value
Type |
---|
IdxSpreadSheetProtectionInfo |
Remarks
You can use this property to protect a worksheet or the spreadsheet document structure with a password. To add a protection password programmatically, assign a new instance of the TdxSpreadSheetStandardProtectionInfo or TdxSpreadSheetStrongProtectionInfo to the ProtectionInfo property, passing the required password as the constructor‘s APassword parameter. To remove password protection, set this property to nil.
For detailed information (including code examples) on protecting individual worksheets and the document structure, refer to the Worksheet Protection and Spreadsheet Document Structure Protection sections of the Password Protection topic.