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