Accusoft.ScanFixXpress7.Net
DeskewOptions Constructor(Double,Int32,Color,Boolean,Int32)
See Also  Send Feedback
Accusoft.ScanFixXpressSdk Namespace > DeskewOptions Class > DeskewOptions Constructor : DeskewOptions Constructor(Double,Int32,Color,Boolean,Int32)




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.

Glossary Item Box

Overloaded constructor for the DeskewOptions type.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

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

©2012. Accusoft Corporation. All Rights Reserved.