Skip to main content

TdxCustomSpreadSheet.Password Property

Specifies the password used to encrypt and decrypt spreadsheet documents.

Declaration

property Password: string read; write;

Property Value

Type
string

Remarks

The Spreadsheet and Report Designer controls support file encryption for the XLS, XLT, XLSX, and XLTX formats. You can use this property to:

Specify the password required to open an encrypted spreadsheet document prior to loading it. If the Password property is set to an empty string, the Spreadsheet control attempts to load an encrypted file using the dxSpreadSheetDefaultPassword global constant value as a password.

  • Assign a password used to encrypt the current spreadsheet document when it is saved. If the Password property is set to an empty string, the document is not encrypted.

For more information on passwords and spreadsheet document encryption including end-user capabilities, refer to the Password Protection topic.

See Also