Esempio n. 1
0
 /// <summary>
 /// Sends a statement to MapInfo to be evaluated
 /// </summary>
 /// <param name="statement">statement to send to MapInfo</param>
 /// <returns>result of evaluation as string</returns>
 public static string Eval(string statement)
 {
     InteropHelper.PrintMessage(statement);
     return(InteropServices.MapInfoApplication.Eval(statement));
 }
Esempio n. 2
0
 /// <summary>
 /// Sends a statement to MapInfo to be executed
 /// </summary>
 /// <param name="statement">statement to send to MapInfo</param>
 public static void Do(string statement)
 {
     InteropHelper.PrintMessage(@statement);
     InteropServices.MapInfoApplication.Do(@statement);
 }