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




Accusoft.ScanFixXpressSdk Namespace > BlankRectangleDetectOptions Class > BlankRectangleDetectOptions Constructor : BlankRectangleDetectOptions Constructor(Rectangle,Boolean,Int32,Int32)
The rectangle specifying the location to examine for blankness.
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.
Instantiates a new BlankRectangleDetectOptions object with specified values.
Syntax
'Declaration
 
Public Function New( _
   ByVal area As Rectangle, _
   ByVal ignoreBorder As Boolean, _
   ByVal minimumObjectDimension As Integer, _
   ByVal gapFill As Integer _
)
'Usage
 
Dim area As Rectangle
Dim ignoreBorder As Boolean
Dim minimumObjectDimension As Integer
Dim gapFill As Integer
 
Dim instance As New BlankRectangleDetectOptions(area, ignoreBorder, minimumObjectDimension, gapFill)
public BlankRectangleDetectOptions( 
   Rectangle area,
   bool ignoreBorder,
   int minimumObjectDimension,
   int gapFill
)
public: BlankRectangleDetectOptions( 
   Rectangle area,
   bool ignoreBorder,
   int minimumObjectDimension,
   int gapFill
)
public:
BlankRectangleDetectOptions( 
   Rectangle area,
   bool ignoreBorder,
   int minimumObjectDimension,
   int gapFill
)

Parameters

area
The rectangle specifying the location to examine for blankness.
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.
Remarks
Use this in order to maintain compatibility with the ScanFix Xpress 5 constructor for this object. The MinimumContrast property is set to default value.
See Also

Reference

BlankRectangleDetectOptions Class
BlankRectangleDetectOptions Members
Overload List

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