Compartilhar via


Document.PasswordEncryptionKeyLength Property

Definition

Gets the key length of the algorithm Microsoft Office 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

The key length of the algorithm Microsoft Office Word uses when encrypting documents with passwords.

Remarks

Use the SetPasswordEncryptionOptions method to specify the key length that Word uses when encrypting documents with passwords.

Applies to