VintaSoft Twain .NET SDK v10.2
Enabled Property (DocumentFeeder)




Vintasoft.Twain Namespace > DocumentFeeder Class : Enabled Property
Gets a value that indicates whether the document feeder is enabled.
Syntax
'Declaration
 
Public Property Enabled As Boolean
'Usage
 
Dim instance As DocumentFeeder
Dim value As Boolean
 
instance.Enabled = value
 
value = instance.Enabled
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.
Requirements

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

See Also

Reference

DocumentFeeder Class
DocumentFeeder Members
HasFeeder Property