Accusoft.ScanFixXpress8.Net
Deskew(DeskewOptions) Method




An object containing parameters that control the enhancement process
Detects the skew angle of the current image and rotates the image to remove that skew.
Syntax
'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)

Parameters

options
An object containing parameters that control the enhancement process

Return Value

A DeskewResults object containing information about the results of the deskew process.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThrown when required argument value is null.
System.ArgumentOutOfRangeExceptionThrown when argument is out of range.
System.ComponentModel.InvalidEnumArgumentExceptionThrown when argument enum value is invalid.
ScanFixUnsupportedImageExceptionThrown when image type is unsupported.
ScanFixExceptionThrown when operation failed.
Remarks

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.

See Also

Reference

ScanFix Class
ScanFix Members
Overload List

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback