Leadtools.ScreenCapture Namespace > ScreenCaptureOptions Structure : OptimizedHotkey Property |
public bool OptimizedHotkey {get; set;}
'Declaration Public Property OptimizedHotkey As Boolean
'Usage Dim instance As ScreenCaptureOptions Dim value As Boolean instance.OptimizedHotkey = value value = instance.OptimizedHotkey
OptimizedHotkey
property to be true
will cause the capture method to return immediately (if a HotKey has been specified in Hotkey
). In this case, a global system HotKey hook is established and used to wait for the HotKey to be pressed. When the HotKey is pressed, the capture is performed and the event handler is called with the results of the capture. Use this option only if the normal behavior is causing your application problems. This option is ignored in Win95/98/Me.