ImageGear PDF v25.2 - Updated
EncryptAttachmentsOnly Property




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDFSecurityData Class : EncryptAttachmentsOnly Property
Gets or sets a value indicating whether only Attachments are encrypted.
Syntax
'Declaration
 
Public Property EncryptAttachmentsOnly As Boolean
'Usage
 
Dim instance As ImGearPDFSecurityData
Dim value As Boolean
 
instance.EncryptAttachmentsOnly = value
 
value = instance.EncryptAttachmentsOnly
public bool EncryptAttachmentsOnly {get; set;}
public: __property bool get_EncryptAttachmentsOnly();
public: __property void set_EncryptAttachmentsOnly( 
   bool value
);
public:
property bool EncryptAttachmentsOnly {
   bool get();
   void set (    bool value);
}

Property Value

Boolean value.
Remarks
EncryptMetadata and EncryptAttachmentsOnly cannot both be true. The default value is false.
See Also

Reference

ImGearPDFSecurityData Class
ImGearPDFSecurityData Members

Is this page helpful?
Yes No
Thanks for your feedback.