예제 #1
0
        public override Bitmap GetAppWindowAsBitmap(AppWindow aw)
        {
            AutomationElement tempWindow = (AutomationElement)((UIAElementInfo)aw.RefObject).ElementObject;

            return(tempWindow.Capture());
        }
예제 #2
0
 public override Bitmap GetCurrentWindowBitmap()
 {
     return(CurrentWindow.Capture());
 }