OnCalcVariables

Top  Previous  Next

[This event is new in version 2.0 of Gnostice PDFtoolkit ActiveX/. NET]

 

Triggers to pass user-defined variables to the document. Use this event  to assign values to user-defined variables.

 

Syntax

 

[VC++]

__event void CTestNewOCX_StdDlg::OnOnCalcVariablesGtpdfdocumentx1(LPCTSTR Variable, BSTR FAR* Value, long PageNo)

 

[CS]

public abstract new event IgtPDFDocumentXEvents_OnCalcVariablesEventHandler OnCalcVariables

 

[VB]

Event OnCalcVariables(Variable As String, Value As String, PageNo As Long)

 

 

Parameters

 

       Variable

           Specifies the user-defined variable.

 

       PageNo

           Specifies the page number.

 

Return Type

       

        Returns the newly assigned value for the user-defined variable.