LEADTOOLS Workflow TWAIN (Leadtools.Workflow.Scan assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ErrorOnUnsupportedValue Property
See Also 
Leadtools.Workflow.Scan Namespace > ScanActivity Class : ErrorOnUnsupportedValue Property



The ErrorOnUnsupportedValue Property is available in LEADTOOLS Document and Medical Imaging toolkits.

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);
}

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

See Also

Reference

ScanActivity Class
ScanActivity Members
Using Leadtools Workflow Scan Activity.

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