VintaSoft Twain .NET SDK v10.2
Vintasoft.WpfTwain Namespace / DocumentFeeder Class / DuplexEnabled Property




In This Topic
    DuplexEnabled Property (DocumentFeeder)
    In This Topic
    Gets or sets a value that indicates whether the duplex scanning is enabled.
    Syntax
    'Declaration
     
    Public Property DuplexEnabled As Boolean
    'Usage
     
    Dim instance As DocumentFeeder
    Dim value As Boolean
     
    instance.DuplexEnabled = value
     
    value = instance.DuplexEnabled
    public bool DuplexEnabled {get; set;}
    public: __property bool get_DuplexEnabled();
    public: __property void set_DuplexEnabled( 
       bool value
    );
    public:
    property bool DuplexEnabled {
       bool get();
       void set (    bool value);
    }

    Property Value

    true - duplex is enabled, false - duplex 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