Export (0) Print
Expand All
Expand Minimize

_Document.PasswordEncryptionKeyLength Property

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

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

int PasswordEncryptionKeyLength { get; }

Property Value

Type: System.Int32

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

Community Additions

ADD
Show:
© 2014 Microsoft