Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetCustomProtectionInfo.Password Property

Returns a password used to protect a single worksheet or the spreadsheet document structure.

#Declaration

Delphi
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.

See Also