[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.WriteProtection.WritePassword

WritePassword Property

WritePassword

Sets the protected password to modify the file.

Declaration
public string WritePassword { set; }
Public WriteOnly Property WritePassword As String
Examples
WriteProtection protection = workbook.WriteProtection;
string password = GetPasswordFromSecureSource();
protection.WritePassword = password;
bool writeReserved = protection.WriteReserved;
bool passwordMatches = protection.ValidatePassword(password);