Instantiates a new BlankPageDetectOptions object setting the specified values.
Syntax
'Declaration
Public Function New( _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Boolean, _
ByVal As Integer, _
ByVal As Integer, _
ByVal 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 ,
int ,
int ,
int ,
bool ,
int ,
int ,
int
)
public: BlankPageDetectOptions(
int ,
int ,
int ,
int ,
bool ,
int ,
int ,
int
)
public:
BlankPageDetectOptions(
int ,
int ,
int ,
int ,
bool ,
int ,
int ,
int
)
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