Partager via


_Presentation.PasswordEncryptionKeyLength Property

Returns the key length of the algorithm Microsoft PowerPoint uses when it encrypts documents with passwords. Read-only.

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

Syntax

'Declaration
ReadOnly Property PasswordEncryptionKeyLength As Integer
    Get
'Usage
Dim instance As _Presentation
Dim value As Integer

value = instance.PasswordEncryptionKeyLength
int PasswordEncryptionKeyLength { get; }

Property Value

Type: System.Int32

Remarks

Use the SetPasswordEncryptionOptions(String, String, Int32, Boolean) method to specify the algorithm PowerPoint uses for encrypting documents with passwords.

See Also

Reference

_Presentation Interface

_Presentation Members

Microsoft.Office.Interop.PowerPoint Namespace