VintaSoft Twain .NET SDK 15.4: Documentation for .NET developer
Vintasoft.WpfTwain Namespace / Device Class / ShowSetupDialog Methods / ShowSetupDialog(Boolean) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
ShowSetupDialog(Boolean) Method (Device)
In This Topic
Displays the device setup dialog.
Syntax
'Declaration

Public Overloads Sub ShowSetupDialog( _
ByVal checkIfDialogSupported
A value indicating whether device should not check that setup dialog is supported.
As Boolean _
)
public void ShowSetupDialog(
bool checkIfDialogSupported
)

Parameters

checkIfDialogSupported
A value indicating whether device should not check that setup dialog is supported.
Exceptions
ExceptionDescription
Thrown if device is disposed.
Thrown if device is in wrong state.
Thrown if device does not support the setup dialog.
Thrown if the .NET debugger is used and the function evaluation requires all threads to run.
Remarks

Call this method only when device is opened (State == DeviceState.Opened).

Important: After calling this method you need to wait for UserInterfaceClosed event and close/disable the device in the event handler if this is necessary.

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also