Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / WriteProtection Class
Properties Methods

In This Topic
    WriteProtection Class Members
    In This Topic

    The following tables list the members exposed by WriteProtection.

    Public Properties
     NameDescription
    Public Property Indicates if the Read Only Recommended option is selected.  
    Public Property Sets the protected password to modify the file.  
    Public Property Indicates whether this workbook is write protected.  
    Public PropertyGets and sets the name of the user who currently has write permission for the workbook.
    If you don't explicitly specify this property, the value will come from the IWorkbook.Author, and if the IWorkbook.Author is empty string or null, the value will be "Document Solution for Excel".  
    Top
    Public Methods
     NameDescription
    Public Method Returns true if the specified password is the same as the write-protection password the file was protected with.  
    Top
    See Also