Exemple #1
0
        public static Point FindStrFastE(this dmsoft dmsoft, FindStrFastE findStr)
        {
            var res = dmsoft.FindStrFastE(findStr.X1, findStr.Y1, findStr.X2, findStr.Y2, findStr.String, findStr.ColorFormat, findStr.Sim);

            if (string.IsNullOrWhiteSpace(res))
            {
                return(new Point());
            }
            else
            {
                var arr = res.Split('|');
                return(new Point(int.Parse(arr[1]), int.Parse(arr[2])));
            }
        }
Exemple #2
0
 public string FindStrFastE(int x1, int y1, int x2, int y2, string str, string color, double sim)
 {
     return(dm.FindStrFastE(x1, y1, x2, y2, str, color, sim));
 }