ImportMethod

Applies to:uCalc Transform
Class:uCalc.uCalcTransform
Imports a transform from a file
Syntax
Import(FileName)
Parameters
FileName
String
Name of file containing transform to import
Returns
Imports a transform from a file
Remarks
This imports a transfrom from a file. It can be a text file, in XML, uc, or ... format.

DLL import code
<DllImport(uCalcDLL, CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl, EntryPoint:="Import")> _

Private Function Import__(ByVal TransformHandle As IntPtr,ByVal FileName As String) As IntPtr
End Function
            
[DllImport(uCalcDLL, CharSet=CharSet.Ansi, CallingConvention=CallingConvention.Cdecl, EntryPoint="Import")]

protected static extern IntPtr Import_(IntPtr TransformHandle, string FileName);
            
{DLLImport}function Import__(TransformHandle: System.Pointer;FileName: AnsiString): System.Pointer; cdecl; external uCalcDLL name 'Import';

            
typedef uCalcPtr (* __Import)(void *TransformHandle, CONSTCHAR FileName ); 

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

static uCalcPtr Import_(void *  TransformHandle, MARSHALSTR FileName);
            
Prev | Next