Partager via


_Presentation.PasswordEncryptionAlgorithm Property

Returns the algorithm Microsoft PowerPoint uses for encrypting 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 PasswordEncryptionAlgorithm As String
    Get
'Usage
Dim instance As _Presentation
Dim value As String

value = instance.PasswordEncryptionAlgorithm
string PasswordEncryptionAlgorithm { get; }

Property Value

Type: System.String

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