_Document.PasswordEncryptionKeyLength _Document.PasswordEncryptionKeyLength _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; }
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