ScanFix Xpress v9.0 for .NET - Updated
DeskewOptions Constructor(Double,Int32,Color,Boolean,Int32)




Accusoft.ScanFixXpressSdk Namespace > DeskewOptions Class > DeskewOptions Constructor : 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 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 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.
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.
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
 
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)
public DeskewOptions( 
   double minimumCorrectableAngle,
   int minimumConfidence,
   Color padColor,
   bool maintainOriginalSize,
   int quality
)
public: DeskewOptions( 
   double minimumCorrectableAngle,
   int minimumConfidence,
   Color padColor,
   bool maintainOriginalSize,
   int quality
)
public:
DeskewOptions( 
   double minimumCorrectableAngle,
   int minimumConfidence,
   Color padColor,
   bool maintainOriginalSize,
   int 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.
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.
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.
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.
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

Is this page helpful?
Yes No
Thanks for your feedback.