ImageGear .NET v25.0 - Updated
RegisterAuthProc Method




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDFDocument Class : RegisterAuthProc Method
Authorization callback procedure.
User data.
Registers the authorization procedure, which will be called when open a secured PDF file, i.e. a PDF that has either the user or the master password set.
Syntax
'Declaration
 
Public Shared Sub RegisterAuthProc( _
   ByVal authorizationCallback As ImGearPDFDocument.ImGearAuthProc, _
   ByVal userData As Object _
) 
'Usage
 
Dim authorizationCallback As ImGearPDFDocument.ImGearAuthProc
Dim userData As Object
 
ImGearPDFDocument.RegisterAuthProc(authorizationCallback, userData)
public static void RegisterAuthProc( 
   ImGearPDFDocument.ImGearAuthProc authorizationCallback,
   object userData
)
public: static void RegisterAuthProc( 
   ImGearPDFDocument.ImGearAuthProc* authorizationCallback,
   Object* userData
) 
public:
static void RegisterAuthProc( 
   ImGearPDFDocument.ImGearAuthProc^ authorizationCallback,
   Object^ userData
) 

Parameters

authorizationCallback
Authorization callback procedure.
userData
User data.
Remarks
See ImGearPDFDocument.ImGearAuthProc for more details.
See Also

Reference

ImGearPDFDocument Class
ImGearPDFDocument Members
ImGearPDFDictionary Class
ImGearPDFDocument.ImGearAuthProc Delegate