C# 클래스 WindowsContextTracker.Helpers.ScreenCapture

파일 보기 프로젝트 열기: sealuzh/PersonalAnalytics

공개 메소드들

메소드 설명
CaptureActiveWindowHq ( ) : Screenshot

for OCR engine: takes a screenshot and then does some pre-OCR optimizations and returns it

TakeAndSaveScreenshot ( ) : string

takes a screenshot, resizes it for later processing and saves it on the participant's computer hint: this is a temporary solution until OCR works

비공개 메소드들

메소드 설명
CaptureWindow ( ) : Screenshot

creates and returns the screenshot of the currently active window

GetDesktopWindow ( ) : IntPtr
GetForegroundWindow ( ) : IntPtr
GetWindowRect ( IntPtr hWnd, System.Drawing.Rect &rect ) : IntPtr

메소드 상세

CaptureActiveWindowHq() 공개 정적인 메소드

for OCR engine: takes a screenshot and then does some pre-OCR optimizations and returns it
public static CaptureActiveWindowHq ( ) : Screenshot
리턴 OcrLibrary.Helpers.Screenshot

TakeAndSaveScreenshot() 공개 정적인 메소드

takes a screenshot, resizes it for later processing and saves it on the participant's computer hint: this is a temporary solution until OCR works
public static TakeAndSaveScreenshot ( ) : string
리턴 string