ImageGear .NET v25.0 - Updated
SetNewSecurityData Method




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDFDocument Class : SetNewSecurityData Method
The new security data object to set for document.
This method sets the security data structure for the specified document's new security handler.
Syntax
'Declaration
 
Public Sub SetNewSecurityData( _
   ByVal securityData As ImGearPDFSecurityData _
) 
'Usage
 
Dim instance As ImGearPDFDocument
Dim securityData As ImGearPDFSecurityData
 
instance.SetNewSecurityData(securityData)
public void SetNewSecurityData( 
   ImGearPDFSecurityData securityData
)
public: void SetNewSecurityData( 
   ImGearPDFSecurityData* securityData
) 
public:
void SetNewSecurityData( 
   ImGearPDFSecurityData^ securityData
) 

Parameters

securityData
The new security data object to set for document.
Remarks

The new security handler must have been previously set using SetNewCryptHandler.

Checks the permissions associated with the specified document using the latest permissions format and determines whether the requested operation is allowed for the specified object in the document.

See Also

Reference

ImGearPDFDocument Class
ImGearPDFDocument Members
ImGearPDFDictionary Class
ImGearPDFSecurityData Class