/// <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)); }
/// <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); }