LEADTOOLS Workflow TWAIN (Leadtools.Workflow.Scan assembly)
LEAD Technologies, Inc

ErrorOnUnsupportedValue Property






Gets or sets a flag that indicates whether to throw an exception if a property value is not supported by the scanner source.
Syntax
public bool ErrorOnUnsupportedValue {get; set;}
'Declaration
 
Public Property ErrorOnUnsupportedValue As Boolean
'Usage
 
Dim instance As ScanActivity
Dim value As Boolean
 
instance.ErrorOnUnsupportedValue = value
 
value = instance.ErrorOnUnsupportedValue
public bool ErrorOnUnsupportedValue {get; set;}
 get_ErrorOnUnsupportedValue();
set_ErrorOnUnsupportedValue(value);
public:
property bool ErrorOnUnsupportedValue {
   bool get();
   void set (    bool value);
}

Property Value

Flag that indicates whether to throw an exception if a property value is not supported by the scanner source. The default value is false.
Remarks
Not all property values are supported for all scanner drivers. For example, not all PageSize enumeration values are supported by all scanner drivers. Trying to set an unsupported property value throws an exception. To ignore such an exception set this property to false.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ScanActivity Class
ScanActivity Members
Using Leadtools Workflow Scan Activity.

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Workflow.Scan requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features