Accusoft.ScanFixXpressSdk Namespace > ScanFix Class > Deskew Method : Deskew(DeskewOptions) Method |
'Declaration <DebuggerNonUserCodeAttribute()> <DebuggerStepThroughAttribute()> Public Overloads Function Deskew( _ ByVal options As DeskewOptions _ ) As DeskewResults
'Usage Dim instance As ScanFix Dim options As DeskewOptions Dim value As DeskewResults value = instance.Deskew(options)
[DebuggerNonUserCode()] [DebuggerStepThrough()] public DeskewResults Deskew( DeskewOptions options )
[DebuggerNonUserCode()] [DebuggerStepThrough()] public: DeskewResults* Deskew( DeskewOptions* options )
[DebuggerNonUserCode()] [DebuggerStepThrough()] public: DeskewResults^ Deskew( DeskewOptions^ 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. |
The deskew enhancement is capable of correcting skews ranging from -20 to +20 degrees by rotating the image to 0 degree. It is recommended to use this enhancement on images with skews within the valid range.
Note: Use this function if you wish to modify the parameters controlling the enhancement.