Document.PasswordEncryptionKeyLength Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.