public class ExcelDocumentSecurity
Public Class ExcelDocumentSecurity
public ref class ExcelDocumentSecurity
type ExcelDocumentSecurity = class end
OpenWorkbookPassword | Gets or sets the password that must be supplied to open the workbook when opening a workbook or to password protect the workbook when saving a workbook. Password protection works only with Excel 2003 .xls format. To remove password protection for an existing workbook a valid open password must be supplied when opening the workbook and then the OpenPassword property must be set to null before saving the workbook to prevent protecting again the saved document. |
WriteWorkbookPassword | Sets the write password of a workbook. This password is required in order to edit the workbook. Password protection works only with Excel 2003 .xls format. |
Equals | (Inherited from Object) |
Finalize | (Inherited from Object) |
GetHashCode | (Inherited from Object) |
GetType | (Inherited from Object) |
MemberwiseClone | (Inherited from Object) |
ProtectWorkbook(Boolean, Boolean) | Protects the workbook window and structure. |
ProtectWorkbook(Boolean, Boolean, String) | Protects the workbook window and structure and sets a password to unprotect the workbook. |
ToString | (Inherited from Object) |
UnprotectWorkbook | Removes protection from the workbook. |
UnprotectWorkbook(String) | Removes the protection from the workbook. |