aardio 文档

aardio 范例: 截屏选区

//截屏选区
import gdip.snap;
import mouse.screenArea;
var screenArea = mouse.screenArea();
screenArea.onSelectionChanged = function(rc){

    var bmp = gdip.snap.file("/test.jpg",screenArea.hwnd,rc);
    owner.close();

    raw.explore("/test.jpg");
}
screenArea.doModal();

Markdown 格式