Documents for Word .NET Edition
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / DocumentProtection Class / WritePassword Property

In This Topic
    WritePassword Property
    In This Topic
    Gets or sets the write password.
    Syntax
    'Declaration
     
    Public Property WritePassword As Password
    public Password WritePassword {get; set;}
    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.
    See Also