ScanFix Xpress v9.0 for .NET - Updated
BlankPageDetectOptions Constructor(Int32,Int32,Int32,Int32,Boolean,Int32,Int32,Int32)




Accusoft.ScanFixXpressSdk Namespace > BlankPageDetectOptions Class > BlankPageDetectOptions Constructor : BlankPageDetectOptions Constructor(Int32,Int32,Int32,Int32,Boolean,Int32,Int32,Int32)
The number of pixels to ignore on the top edge of the image.
The number of rows of pixels to ignore on the bottom edge of the image.
The number of rows of pixels to ignore on the left edge of the image.
The number of rows of pixels to ignore on the right edge of the image.
A flag that tells the operation to do a quick search for overscan in the border, and will adjust the detection area to move it inside the detected overscanned border.
The minimum width or height of a black object that should be considered non-blank.
The maximum spacing between black objects that should be considered connected.
The minimum contrast between foreground and background for color and gray images
Instantiates a new BlankPageDetectOptions object setting the specified values.
Syntax
'Declaration
 
Public Function New( _
   ByVal topMargin As Integer, _
   ByVal bottomMargin As Integer, _
   ByVal leftMargin As Integer, _
   ByVal rightMargin As Integer, _
   ByVal ignoreBorder As Boolean, _
   ByVal minimumObjectDimension As Integer, _
   ByVal gapFill As Integer, _
   ByVal minimumContrast As Integer _
)
'Usage
 
Dim topMargin As Integer
Dim bottomMargin As Integer
Dim leftMargin As Integer
Dim rightMargin As Integer
Dim ignoreBorder As Boolean
Dim minimumObjectDimension As Integer
Dim gapFill As Integer
Dim minimumContrast As Integer
 
Dim instance As New BlankPageDetectOptions(topMargin, bottomMargin, leftMargin, rightMargin, ignoreBorder, minimumObjectDimension, gapFill, minimumContrast)
public BlankPageDetectOptions( 
   int topMargin,
   int bottomMargin,
   int leftMargin,
   int rightMargin,
   bool ignoreBorder,
   int minimumObjectDimension,
   int gapFill,
   int minimumContrast
)
public: BlankPageDetectOptions( 
   int topMargin,
   int bottomMargin,
   int leftMargin,
   int rightMargin,
   bool ignoreBorder,
   int minimumObjectDimension,
   int gapFill,
   int minimumContrast
)
public:
BlankPageDetectOptions( 
   int topMargin,
   int bottomMargin,
   int leftMargin,
   int rightMargin,
   bool ignoreBorder,
   int minimumObjectDimension,
   int gapFill,
   int minimumContrast
)

Parameters

topMargin
The number of pixels to ignore on the top edge of the image.
bottomMargin
The number of rows of pixels to ignore on the bottom edge of the image.
leftMargin
The number of rows of pixels to ignore on the left edge of the image.
rightMargin
The number of rows of pixels to ignore on the right edge of the image.
ignoreBorder
A flag that tells the operation to do a quick search for overscan in the border, and will adjust the detection area to move it inside the detected overscanned border.
minimumObjectDimension
The minimum width or height of a black object that should be considered non-blank.
gapFill
The maximum spacing between black objects that should be considered connected.
minimumContrast
The minimum contrast between foreground and background for color and gray images
See Also

Reference

BlankPageDetectOptions Class
BlankPageDetectOptions Members
Overload List

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