_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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for