VintaSoft Twain .NET SDK 15.3: Руководство для .NET разработчика
Vintasoft.WinTwain Namespace / Device Class / AutoScan Property
Синтаксис Exceptions Ремарки Требования Смотрите также
В этом разделе
    AutoScan Свойство (Device)
    В этом разделе
    Gets or sets a value indicating whether the device should capture the number of images indicated by the value of XferCount without waiting for the Application to request the image transfers.
    Синтаксис
    'Declaration
    
    Public Property AutoScan As Boolean
    
    
    public bool AutoScan { get; set; }
    
    
    public: __property bool get_AutoScan();
    public: __property void set_AutoScan(
    bool value
    );
    public:
    property bool AutoScan { bool get(); void set(bool value); }

    Property Value

    true - device should capture the number of images indicated by the value of XferCount without waiting for the Application to request the image transfers; false - device should capture one image, wait while the Application requests the image, transfer image to the Application and only after this capture new image.
    Исключения
    ИсключениеОписание
    Thrown if device is in wrong state.
    Thrown if device does not support capability.
    Thrown if the .NET debugger is used and the function evaluation requires all threads to run.
    Ремарки

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

    Требования

    Целевые платформы: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    Смотрите также