VintaSoft Twain .NET SDK 14.1: Documentation for .NET developer
Vintasoft.WpfTwain Namespace / DocumentFeeder Class / Enabled Property
Syntax Exceptions Remarks Example Requirements SeeAlso
In This Topic
    Enabled Property (DocumentFeeder)
    In This Topic
    Gets a value that indicates whether the document feeder is enabled.
    Syntax
    'Declaration
    
    Public Property Enabled As Boolean
    
    
    public bool Enabled { get; set; }
    
    
    public: __property bool get_Enabled();
    public: __property void set_Enabled(
    bool value
    );
    public:
    property bool Enabled { bool get(); void set(bool value); }

    Property Value

    true - document feeder is enabled, false - document feeder is disabled.
    Exceptions
    ExceptionDescription
    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.
    Remarks

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

    Example

    Please see example here: DocumentFeeder.

    Requirements

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

    See Also