FromMethod

Applies to:uCalc Transform
Class:uCalc.uCalcTransform.RuleClass
Sets a pattern that text must match for a given rule
Syntax
From(FromStr)
Parameters
FromStr
String
Pattern that describes the text to match
Returns
Type: RuleClass
Sets a pattern that text must match for a given rule
Remarks
This sets the pattern for a given rule for text that should be matched. You can have multiple rules, each with a From pattern, which can be searched simultaneously, or in sequence.

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

Private Function From__(ByVal RuleHandle As IntPtr,ByVal FromStr As String) As IntPtr
End Function
            
[DllImport(uCalcDLL, CharSet=CharSet.Ansi, CallingConvention=CallingConvention.Cdecl, EntryPoint="From")]

protected static extern IntPtr From_(IntPtr RuleHandle, string FromStr);
            
{DLLImport}function From__(RuleHandle: System.Pointer;FromStr: AnsiString): System.Pointer; cdecl; external uCalcDLL name 'From';

            
typedef uCalcPtr (* __From)(void *RuleHandle, CONSTCHAR FromStr ); 

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

static uCalcPtr From_(void *  RuleHandle, MARSHALSTR FromStr);
            
See also
Prev | Next