Back to Devexpress

WriteProtectionOptions Members

officefileapi-devexpress-dot-spreadsheet-dot-writeprotectionoptions-dot-underscore-members.md

latest1.4 KB
Original Source

WriteProtectionOptions Members

Contains write-protection options for a workbook.

Properties

NameDescription
IsPasswordProtectedIndicates whether a workbook is write-protected.
ReadOnlyRecommendedReturns or specifies whether the author of the workbook recommended that it be opened as read-only.
UserNameReturns or specifies the name of the user who write-protected the workbook.

Methods

NameDescription
CheckPassword(String)Checks whether the specified password is the same as the password used to write-protect a workbook.
ClearPassword()Clears the password used to modify a workbook.
SetPassword(String)Specifies the password used to modify a workbook.

See Also

WriteProtectionOptions Interface

DevExpress.Spreadsheet Namespace