常用方法
常用方法
常用方法
常用方法
/// <summary> /// 抓取指定区域(x1, y1, x2, y2)的图像,保存为file(JPG压缩格式) /// </summary> /// <param name="dmsoft"></param> /// <param name="capture"></param> /// <returns></returns> public static bool CaptureJpg(this dmsoft dmsoft, CaptureJpg capture) { return(dmsoft.CaptureJpg(capture.X1, capture.Y1, capture.X2, capture.Y2, capture.File, capture.Quality) == 1); }