CaptureHotKey Example for Visual Basic
LEADRasterScr1.CaptureCount = 1
'set hotkey to Ctrl + F12
LEADRasterScr1.CaptureHotKey = vbKeyF12
LEADRasterScr1.CaptureHotKeyModifiers = SCR_MOD_CONTROL
LEADRasterScr1.CaptureArea SCR_CAP_AREA_RECT