SetOutput (Callback)Method

Applies to:uCalc Transform
Class:uCalc
Allows a callback to decorate the output of EvalStr
Syntax
SetOutput(FunctionAddress, Properties)
Parameters
FunctionAddress
uCalcCallback
Address of callback function that formats the output
Properties
String
Name of datatype whose output will be formated and/or ranking among other output formats; leave blank to affect all data types and use default ranking.
Returns
Type: Item
Allows a callback to decorate the output of EvalStr
Remarks
DLL import code
<DllImport(uCalcDLL, CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl, EntryPoint:="SetOutput_Overload_uCalc_Callback")> _

Private Function SetOutput_Overload_uCalc_Callback__(ByVal uCalcHandle As IntPtr,ByVal FunctionAddress As uCalcDelegate , ByVal Properties As String) As IntPtr
End Function
            
[DllImport(uCalcDLL, CharSet=CharSet.Ansi, CallingConvention=CallingConvention.Cdecl, EntryPoint="SetOutput_Overload_uCalc_Callback")]

protected static extern IntPtr SetOutput_Overload_uCalc_Callback_(IntPtr uCalcHandle,uCalcDelegate FunctionAddress ,  string Properties);
            
{DLLImport}function SetOutput_Overload_uCalc_Callback__(uCalcHandle: System.Pointer;FunctionAddress: System.Pointer ; Properties: AnsiString): System.Pointer; cdecl; external uCalcDLL name 'SetOutput_Overload_uCalc_Callback';

            
typedef uCalcPtr (* __SetOutput_Overload_uCalc_Callback)(void *uCalcHandle, UCCALLBACK FunctionAddress ,  CONSTCHAR Properties ); 

            
[DllImport(uCalcLib, CharSet=CharSet::Ansi, CallingConvention=CallingConvention::Cdecl, EntryPoint = "SetOutput_Overload_uCalc_Callback")]

static uCalcPtr SetOutput_Overload_uCalc_Callback_(void *  uCalcHandle, UCCALLBACK FunctionAddress ,  MARSHALSTR Properties);
            
Prev | Next