Accusoft.ScanFixXpress8.Net - Updated
BorderRemovalOptions Constructor(Color,Int32,Int32,Boolean,Boolean,Boolean,Int32,Int32,Int32,Int32,Int32,Int32,Int32)




Accusoft.ScanFixXpressSdk Namespace > BorderRemovalOptions Class > BorderRemovalOptions Constructor : BorderRemovalOptions Constructor(Color,Int32,Int32,Boolean,Boolean,Boolean,Int32,Int32,Int32,Int32,Int32,Int32,Int32)
The color to use for pixels that are added to the image or for pixels that replace border pixels.
The maximum width or height (in pixels) of specks present in the border of the image.
The maximum width or height (in pixels) of specks present in the interior (page) portion of the image.
A flag that indicates whether the detected border pixels should be removed from the image.
A flag that indicates whether the detected border pixels should be replaced with the fill color.
A flag that indicates whether the image should be deskewed based on the angle of the detected border.
A value that indicates the amount of effort to expend analyzing the image to locate the border. Set to a high value to insure the most accurate possible result and to a low value for fastest operation.
A value that indicates the number of pixels to expand each of the four page edges.
A value that indicates the minimum expected page width, in pixels. Set this value as high as possible (while still being smaller than the page size) to insure best results.
A value that indicates the maximum expected page width, in pixels. Set this value as low as possible (while still being larger than the page size) to insure best results.
A value that indicates the minimum expected page height, in pixels. Set this value as high as possible (while still being smaller than the page size) to insure best results.
A value that indicates the maximum expected page height, in pixels. Set this value as low as possible (while still being larger than the page size) to insure best results.
A value that indicates the minimum detection confidence required before correction will proceed. If the detection confidence is less than this value, the image will not be modified.
Instantiates a new BorderRemovalOptions object with the specified values.
Syntax
'Declaration
 
<DebuggerStepThroughAttribute()>
<DebuggerNonUserCodeAttribute()>
Public Function New( _
   ByVal padColor As Color, _
   ByVal borderSpeckSize As Integer, _
   ByVal pageSpeckSize As Integer, _
   ByVal cropBorder As Boolean, _
   ByVal replaceBorder As Boolean, _
   ByVal deskewBorder As Boolean, _
   ByVal quality As Integer, _
   ByVal amountToExpandPage As Integer, _
   ByVal minimumPageWidth As Integer, _
   ByVal maximumPageWidth As Integer, _
   ByVal minimumPageHeight As Integer, _
   ByVal maximumPageHeight As Integer, _
   ByVal minimumConfidence As Integer _
)
'Usage
 
Dim padColor As Color
Dim borderSpeckSize As Integer
Dim pageSpeckSize As Integer
Dim cropBorder As Boolean
Dim replaceBorder As Boolean
Dim deskewBorder As Boolean
Dim quality As Integer
Dim amountToExpandPage As Integer
Dim minimumPageWidth As Integer
Dim maximumPageWidth As Integer
Dim minimumPageHeight As Integer
Dim maximumPageHeight As Integer
Dim minimumConfidence As Integer
 
Dim instance As New BorderRemovalOptions(padColor, borderSpeckSize, pageSpeckSize, cropBorder, replaceBorder, deskewBorder, quality, amountToExpandPage, minimumPageWidth, maximumPageWidth, minimumPageHeight, maximumPageHeight, minimumConfidence)

Parameters

padColor
The color to use for pixels that are added to the image or for pixels that replace border pixels.
borderSpeckSize
The maximum width or height (in pixels) of specks present in the border of the image.
pageSpeckSize
The maximum width or height (in pixels) of specks present in the interior (page) portion of the image.
cropBorder
A flag that indicates whether the detected border pixels should be removed from the image.
replaceBorder
A flag that indicates whether the detected border pixels should be replaced with the fill color.
deskewBorder
A flag that indicates whether the image should be deskewed based on the angle of the detected border.
quality
A value that indicates the amount of effort to expend analyzing the image to locate the border. Set to a high value to insure the most accurate possible result and to a low value for fastest operation.
amountToExpandPage
A value that indicates the number of pixels to expand each of the four page edges.
minimumPageWidth
A value that indicates the minimum expected page width, in pixels. Set this value as high as possible (while still being smaller than the page size) to insure best results.
maximumPageWidth
A value that indicates the maximum expected page width, in pixels. Set this value as low as possible (while still being larger than the page size) to insure best results.
minimumPageHeight
A value that indicates the minimum expected page height, in pixels. Set this value as high as possible (while still being smaller than the page size) to insure best results.
maximumPageHeight
A value that indicates the maximum expected page height, in pixels. Set this value as low as possible (while still being larger than the page size) to insure best results.
minimumConfidence
A value that indicates the minimum detection confidence required before correction will proceed. If the detection confidence is less than this value, the image will not be modified.
See Also

Reference

BorderRemovalOptions Class
BorderRemovalOptions Members
Overload List