Accusoft.ScanFixXpress8.Net
DeskewOptions Constructor(Double,Int32,Color,Boolean,Int32)




The minimum amount of skew (in degrees) that is considered correctable. Angles less than or equal to this amount will not be corrected. This value must be between 0 and 2. The default value is 0.2.
The minimum detection confidence required before correction will proceed. If the detection confidence is less than this value, the image will not be modified. This value must be an integer between 0 and 100. The default value is 50.
The color to use for pixels that are added to the image. Often, an image will be increased in size during skew correction to avoid discarding parts of the corners of the original image. Any color is acceptable, but the actual color used will be the nearest color that can be represented in the current image. The default value is white.
A flag to indicate whether the size of the image should be maintained unchanged, or allowed to change. Typically, this will be false and the deskewed image will be slightly larger than the original image. The default value is false.
A value that indicates the amount of effort to expend analyzing the image to determine skew.
Instantiates a new DeskewOptions class with the specified values for the options.
Syntax
'Declaration
 
<DebuggerNonUserCodeAttribute()>
<DebuggerStepThroughAttribute()>
Public Function New( _
   ByVal minimumCorrectableAngle As Double, _
   ByVal minimumConfidence As Integer, _
   ByVal padColor As Color, _
   ByVal maintainOriginalSize As Boolean, _
   ByVal quality As Integer _
)
'Usage
 
Dim minimumCorrectableAngle As Double
Dim minimumConfidence As Integer
Dim padColor As Color
Dim maintainOriginalSize As Boolean
Dim quality As Integer
 
Dim instance As New DeskewOptions(minimumCorrectableAngle, minimumConfidence, padColor, maintainOriginalSize, quality)

Parameters

minimumCorrectableAngle
The minimum amount of skew (in degrees) that is considered correctable. Angles less than or equal to this amount will not be corrected. This value must be between 0 and 2. The default value is 0.2.
minimumConfidence
The minimum detection confidence required before correction will proceed. If the detection confidence is less than this value, the image will not be modified. This value must be an integer between 0 and 100. The default value is 50.
padColor
The color to use for pixels that are added to the image. Often, an image will be increased in size during skew correction to avoid discarding parts of the corners of the original image. Any color is acceptable, but the actual color used will be the nearest color that can be represented in the current image. The default value is white.
maintainOriginalSize
A flag to indicate whether the size of the image should be maintained unchanged, or allowed to change. Typically, this will be false and the deskewed image will be slightly larger than the original image. The default value is false.
quality
A value that indicates the amount of effort to expend analyzing the image to determine skew.
See Also

Reference

DeskewOptions Class
DeskewOptions Members
Overload List

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback