| Accusoft.ScanFixXpressSdk Namespace > ScanFix Class > DetectColor Method : DetectColor(DetectColorOptions) Method |
'Declaration <DebuggerStepThroughAttribute()> <DebuggerNonUserCodeAttribute()> Public Overloads Function DetectColor( _ ByVal options As DetectColorOptions _ ) As DetectColorResults
'Usage Dim instance As ScanFix Dim options As DetectColorOptions Dim value As DetectColorResults value = instance.DetectColor(options)
[DebuggerStepThrough()] [DebuggerNonUserCode()] public DetectColorResults DetectColor( DetectColorOptions options )
[DebuggerStepThrough()] [DebuggerNonUserCode()] public: DetectColorResults* DetectColor( DetectColorOptions* options )
[DebuggerStepThrough()] [DebuggerNonUserCode()] public: DetectColorResults^ DetectColor( DetectColorOptions^ options )
| Exception | Description |
|---|---|
| System.ArgumentNullException | Thrown when required argument value is null. |
| System.ArgumentOutOfRangeException | Thrown when argument is out of range. |
| System.ComponentModel.InvalidEnumArgumentException | Thrown when argument enum value is invalid. |
| ScanFixUnsupportedImageException | Thrown when image type is unsupported. |
| ScanFixException | Thrown when operation failed. |
Note: Use this function if you wish to modify the parameters controlling the enhancement.