Back to Devexpress

Encrypt Document Dialog

windowsforms-117761-controls-and-libraries-spreadsheet-visual-elements-dialogs-encrypt-document-dialog.md

latest1.3 KB
Original Source

Encrypt Document Dialog

  • Jan 23, 2019

The Encrypt Document dialog allows end-users to specify a password to encrypt the contents of the document when it is saved to a file.

To provide end-users with the capability to invoke the Encrypt Document dialog, add the Info Ribbon page group to the SpreadsheetControl. For an example on how to create a Ribbon UI, refer to the Getting Started topic.

To specify the encryption type and a password in code, use the DocumentSettings.Encryption property. For an example, refer to the How to: Open and Save a Password Encrypted File article.

See Also

How to: Open and Save a Password Encrypted File