ImageGear .NET v25.2 - Updated
ImageGear.Twain Assembly / ImageGear.TWAIN Namespace / ImGearTWAIN Class / WindowHandle Property




In This Topic
    WindowHandle Property
    In This Topic
    Gets or sets the window handle to use as the parent window.
    Syntax
    'Declaration
     
    Public Property WindowHandle As IntPtr
    'Usage
     
    Dim instance As ImGearTWAIN
    Dim value As IntPtr
     
    instance.WindowHandle = value
     
    value = instance.WindowHandle
    public IntPtr WindowHandle {get; set;}
    public: __property IntPtr get_WindowHandle();
    public: __property void set_WindowHandle( 
       IntPtr value
    );
    public:
    property IntPtr WindowHandle {
       IntPtr get();
       void set (    IntPtr value);
    }

    Property Value

    IntPtr value.
    Remarks
    This value is passed to the TWAIN Data Source when it is called by ImGearTWAIN. Your application should set this to the handle of the main window in the application.
    See Also