Leadtools.Workflow.Scan Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ErrorOnUnsupportedValue Property
See Also 
Leadtools.Workflow.Scan Namespace > ScanActivity Class : 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

Visual Basic (Declaration) 
Public Property ErrorOnUnsupportedValue As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ScanActivity
Dim value As Boolean
 
instance.ErrorOnUnsupportedValue = value
 
value = instance.ErrorOnUnsupportedValue
C# 
public bool ErrorOnUnsupportedValue {get; set;}
C++/CLI 
public:
property bool ErrorOnUnsupportedValue {
   bool get();
   void set (bool value);
}

Return 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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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