VintaSoft Twain .NET SDK v10.2
Vintasoft.WpfTwain Namespace / Device Class / ShowSetupDialog Method




In This Topic
    ShowSetupDialog Method (Device)
    In This Topic
    Displays the device setup dialog if device supports setup dialog.
    Syntax
    'Declaration
     
    Public Sub ShowSetupDialog() 
    'Usage
     
    Dim instance As Device
     
    instance.ShowSetupDialog()
    public void ShowSetupDialog()
    public: void ShowSetupDialog(); 
    public:
    void ShowSetupDialog(); 
    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 wait for UserInterfaceClosed event and close/disable the device in the event handler if this necessary.
    Requirements

    Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also