Accusoft.TwainProSdk Namespace > TwainPro Class : ParentWindowHandle Property |
'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); }
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.