ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF Namespace / ImGearPDFDocument Class / SetNewCryptHandler Method
The PDF atom for the name of the new security handler to use for the document. Use Null to remove security from the document.




In This Topic
    SetNewCryptHandler Method
    In This Topic
    This method sets specified document's new security handler.
    Syntax
    'Declaration
     
    Public Sub SetNewCryptHandler( _
       ByVal securityHandlerName As ImGearPDFAtom _
    ) 
    'Usage
     
    Dim instance As ImGearPDFDocument
    Dim securityHandlerName As ImGearPDFAtom
     
    instance.SetNewCryptHandler(securityHandlerName)
    public void SetNewCryptHandler( 
       ImGearPDFAtom securityHandlerName
    )
    public: void SetNewCryptHandler( 
       ImGearPDFAtom* securityHandlerName
    ) 
    public:
    void SetNewCryptHandler( 
       ImGearPDFAtom^ securityHandlerName
    ) 

    Parameters

    securityHandlerName
    The PDF atom for the name of the new security handler to use for the document. Use Null to remove security from the document.
    Remarks
    The security handler will be used after the document is saved. This method returns with no action if the new security handler is the same as the old one.
    See Also