VintaSoft Twain .NET SDK 15.0: Documentation for .NET developer
In This Topic
    How to disable the progress indicator dialog when TWAIN device UI is not used?
    In This Topic
    Here is an example that demonstrates how to disable the progress indicator dialog if TWAIN device UI is not used:
    /// <summary>
    /// Acquire images without UI and progress indicator.
    /// </summary>
    public void AcquireImageWithoutUiAndProgressIndicator(Vintasoft.Twain.Device device)
    {
        // disable UI
        device.ShowUI = false;
        // disable the progress indicator
        device.ShowIndicators = false;
    
        // acquire images asynchronously
        device.Acquire();
    }
    
    ''' <summary>
    ''' Acquire images without UI and progress indicator.
    ''' </summary>
    Public Sub AcquireImageWithoutUiAndProgressIndicator(device As Vintasoft.Twain.Device)
            ' disable UI
            device.ShowUI = False
            ' disable the progress indicator
            device.ShowIndicators = False
    
            ' acquire images asynchronously
            device.Acquire()
    End Sub