ImageGear .NET v24.14 - Updated
SetNewCryptHandler Method




ImageGear24.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.
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

Reference

ImGearPDFDocument Class
ImGearPDFDocument Members
ImGearPDFDictionary Class
ImGearPDFAtom Class