VintaSoft Twain .NET SDK 12.1
In This Topic
    How to disable the progress indicator dialog when UI is not used?
    In This Topic
    Here is an example that demonstrates how to disable the progress indicator dialog if 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(ByVal device As Vintasoft.Twain.Device)
        ' disable UI
        device.ShowUI = False
        ' disable the progress indicator
        device.ShowIndicators = False
    
        ' acquire images asynchronously
        device.Acquire()
    End Sub