VintaSoft Twain .NET SDK v10.2
Vintasoft.Twain Namespace / DeviceManager Class / IsTwain2Compatible Property




In This Topic
    IsTwain2Compatible Property (DeviceManager)
    In This Topic
    Determines that TWAIN 2.x Data Source Manager should be used.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Determines that TWAIN 2.0 Data Source Manager should be used.")>
    Public Property IsTwain2Compatible As Boolean
    'Usage
     
    Dim instance As DeviceManager
    Dim value As Boolean
     
    instance.IsTwain2Compatible = value
     
    value = instance.IsTwain2Compatible
    [Description("Determines that TWAIN 2.0 Data Source Manager should be used.")]
    public bool IsTwain2Compatible {get; set;}
    [Description("Determines that TWAIN 2.0 Data Source Manager should be used.")]
    public: __property bool get_IsTwain2Compatible();
    public: __property void set_IsTwain2Compatible( 
       bool value
    );
    [Description("Determines that TWAIN 2.0 Data Source Manager should be used.")]
    public:
    property bool IsTwain2Compatible {
       bool get();
       void set (    bool value);
    }

    Property Value

    true - TWAINDSM.DLL should be used as Data Source Manager,
    false (default value) - TWAIN_32.DLL should be used as Data Source Manager. Default value is false.
    Exceptions
    ExceptionDescription
    Thrown if object is disposed.
    Thrown if device manager is not closed.
    Remarks
    Path to the TWAIN Data Source Manager will be detected anew when value of this property is changed.
    Requirements

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

    See Also