_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 |
---|---|
PowerPoint does not encrypt file properties for password-protected documents. |
|
PowerPoint encrypts file properties for password-protected documents. |