Accusoft.ScanFixXpressSdk Namespace > ScanFix Class : ExecuteEnhancements Method |
'Declaration <DebuggerNonUserCodeAttribute()> <DebuggerStepThroughAttribute()> Public Sub ExecuteEnhancements( _ ByVal enhancements As Enhancements _ )
'Usage Dim instance As ScanFix Dim enhancements As Enhancements instance.ExecuteEnhancements(enhancements)
[DebuggerNonUserCode()] [DebuggerStepThrough()] public void ExecuteEnhancements( Enhancements enhancements )
[DebuggerNonUserCode()] [DebuggerStepThrough()] public: void ExecuteEnhancements( Enhancements* enhancements )
[DebuggerNonUserCode()] [DebuggerStepThrough()] public: void ExecuteEnhancements( Enhancements^ enhancements )
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. |
This method will apply the ScanFix enhancements to the current image in the order which they appear in the enhancement list.
Note: If an error is encountered, execution will stop at the enhancement option which causes the error and an exception will be thrown. No result will be added for an enhancement option that causes an error.