项目 | 详情 |
功能说明 | 锁定屏幕缓存 |
方法名 | lockScreen() |
返回值 | Void |
参数 | 无 |
案例 | screen.lockScreen() |
项目 | 详情 |
功能说明 | 解锁锁屏幕缓存 |
方法名 | unLockScreen() |
返回值 | Void |
参数 | 无 |
案例 | screen.unLockScreen() |
项目 | 详情 |
功能说明 | 是否开启快照截屏 |
方法名 | isOpenShortcut() |
返回值 | Boolean |
参数 | 无 |
案例 | screen.isOpenShortcut() |
项目 | 详情 |
功能说明 | 获取屏幕宽度 |
方法名 | getScreenWidth() |
返回值 | Int32 |
参数 | 无 |
案例 | screen.getScreenWidth() |
项目 | 详情 |
功能说明 | 获取屏幕高度 |
方法名 | getScreenHeight() |
返回值 | Int32 |
参数 | 无 |
案例 | screen.getScreenHeight() |
项目 | 详情 |
功能说明 | 识别支持设定区域 |
方法名 | ocr(Single left, Single top, Single right, Single bottom) |
返回值 | OcrResult |
参数 | Single left : 左 Single top : 上 Single right : 右 Single bottom : 下 |
案例 | screen.ocr(0,0,1,1) |
项目 | 详情 |
功能说明 | 截图缩放,记得调用close 释放图像 |
方法名 | screenShot(Int32 width, Int32 heigth, Int32 compress) |
返回值 | Image |
参数 | Int32 width : 宽 Int32 heigth : 高 Int32 compress : 压缩率(0 - 100) |
案例 | screen.screenShot(Int32,Int32,Int32) |
项目 | 详情 |
功能说明 | 全尺寸截图,记得调用close 释放图像 |
方法名 | screenShotFull() |
返回值 | Image |
参数 | 无 |
案例 | screen.screenShotFull() |
欢迎光临 B2B网络软件 (http://bbs.niubt.cn/) | Powered by Discuz! X3.2 |