ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF Namespace / ImGearPDFSecurityData Class / EncryptAttachmentsOnly Property




In This Topic
    EncryptAttachmentsOnly Property
    In This Topic
    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