Example #1
0
        public string CaptureFullScreen()
        {
            var            scr       = GetScreenResolution();
            CoordRectangle rect2     = CoordRectangle.From(0, 0, scr.x, scr.y);
            var            img02Path = string.Format("{0}\\{1}-{2:HHmmss}-full-screen.jpg", KK.FlashScreenDir(), KK.uuid(), DateTime.Now);

            CaptureImage(rect2, img02Path);

            return(img02Path);
        }
Example #2
0
 private void InitBizDir()
 {
     FileUtils.CreateDir(KK.CapturesDir());
     FileUtils.CreateDir(KK.FlashScreenDir());
 }
Example #3
0
        public string CaptureFlashScreen()
        {
            CoordRectangle rect2     = CoordRectangle.From(Datum, 900, 700);
            var            img02Path = string.Format("{0}\\{1}-{2:HHmmss}-flash-screen.jpg", KK.FlashScreenDir(), KK.uuid(), DateTime.Now);

            CaptureImage(rect2, img02Path);

            return(img02Path);
        }