_Presentation.PasswordEncryptionFileProperties Property

Returns whether Microsoft PowerPoint encrypts file properties for password-protected documents. Read-only

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

Syntax

'Declaration
ReadOnly Property PasswordEncryptionFileProperties As Boolean
    Get
'Usage
Dim instance As _Presentation
Dim value As Boolean

value = instance.PasswordEncryptionFileProperties
bool PasswordEncryptionFileProperties { get; }

Property Value

Type: System.Boolean

Remarks

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

The value of the PasswordEncryptionFileProperties property can be one of these MsoTriState constants.

Constant

Description

msoFalse

PowerPoint does not encrypt file properties for password-protected documents.

msoTrue

PowerPoint encrypts file properties for password-protected documents.

See Also

Reference

_Presentation Interface

_Presentation Members

Microsoft.Office.Interop.PowerPoint Namespace