Edit

Share via


_Document.PasswordEncryptionKeyLength Property

Definition

Returns an Integer indicating the key length of the algorithm Microsoft Word uses when encrypting documents with passwords.

public:
 property int PasswordEncryptionKeyLength { int get(); };
public int PasswordEncryptionKeyLength { get; }
member this.PasswordEncryptionKeyLength : int
Public ReadOnly Property PasswordEncryptionKeyLength As Integer

Property Value

Remarks

Use the SetPasswordEncryptionOptions(String, String, Int32, Object) method to specify the key length Word uses when encrypting documents with passwords.

Applies to