Accusoft.TwainPro9.Net
ParentWindowHandle Property




Gets and sets a window to the TwainPRO object.
Syntax
'Declaration
 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<BrowsableAttribute(False)>
<DescriptionAttribute("Provides a window to the TwainPRO object.")>
Public Property ParentWindowHandle As IntPtr
'Usage
 
Dim instance As TwainPro
Dim value As IntPtr
 
instance.ParentWindowHandle = value
 
value = instance.ParentWindowHandle
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Browsable(false)]
[Description("Provides a window to the TwainPRO object.")]
public IntPtr ParentWindowHandle {get; set;}
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Browsable(false)]
[Description("Provides a window to the TwainPRO object.")]
public: __property IntPtr get_ParentWindowHandle();
public: __property void set_ParentWindowHandle( 
   IntPtr value
);
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Browsable(false)]
[Description("Provides a window to the TwainPRO object.")]
public:
property IntPtr ParentWindowHandle {
   IntPtr get();
   void set (    IntPtr value);
}

Property Value

An integer pointer which represents a handle to the parent window.
Remarks

A window is created internally when using the .NET version of TwainPRO, so it is not necessary to set this property.

Note: Set this value to the current window's handle and the Data Source Manager's dialog will be displayed modally (the Data Source Manager dialog is displayed as a result of calling SelectSource()). Otherwise the dialog is displayed modeless. This value should be set before the TwainDevice is created.

See Also

Reference

TwainPro Class
TwainPro Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback