Engine.WindowHandle Property |
Namespace: Kofax.OmniPageCSDK.IproPlus
It is not often that the Engine will show any UI items when an application uses the IPRO libraries, but there are some exceptions such as when the ScannerWizard adds and configures the system's scanners. Setting this property to the value of the integrating application's main window is recommended to prevent UI elements from appearing behind the application window. If IPRO objects are used in .NET environments, a control handle must be converted to an integer.
This property can be overridden with the Document object's WindowHandle property. It is also overridden if the hWnd parameter is specified when calling the ScannerWizard method of the Scanners collection object. The default value for this property is 0, which means that any displayed UI elements will not have a parent window.