[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.DocumentProtection.WritePassword

WritePassword Property

WritePassword

Gets or sets the write password.

Declaration
public Password WritePassword { get; set; }
Public Property WritePassword As Password
Remarks

When present, the write protection shall result in one of two write protection behaviors: If the Password property is present, or both (WritePassword and ReadOnlyRecommended properties) are omitted, then the application shall prompt for a password to exit write protection. If the supplied password does not match the hash value in this property, then write protection shall be enabled.
If only the ReadOnlyRecommended property is present, the application should provide user interface recommending that the user open this document in write protected state.If the user chooses to do so, the document shall be write protected, otherwise, it shall be opened fully editable.