Instantiates a new LineRemovalOptions object setting the specified values.
Syntax
'Declaration
Public Function New( _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Double, _
ByVal As Integer, _
ByVal As Integer _
)
'Usage
Dim minimumLength As Integer
Dim maximumThickness As Integer
Dim minimumAspectRatio As Double
Dim maximumGap As Integer
Dim maximumCharacterRepairSize As Integer
Dim instance As New LineRemovalOptions(minimumLength, maximumThickness, minimumAspectRatio, maximumGap, maximumCharacterRepairSize)
public LineRemovalOptions(
int ,
int ,
double ,
int ,
int
)
public: LineRemovalOptions(
int ,
int ,
double ,
int ,
int
)
public:
LineRemovalOptions(
int ,
int ,
double ,
int ,
int
)
Parameters
- minimumLength
- The minimum length, in pixels, a line can be to meet the removal criteria.
Valid values are in the range 10 to 20000.
- maximumThickness
- The maximum thickness, in pixels, a line can have to meet the removal criteria.
Valid values are in the range of 0 to 50.
- minimumAspectRatio
- The ratio of the line length to the line width (i.e., length / width). Lines below this aspect ratio will not be removed.
The value range is any floating point number between 1 and 1000.
- maximumGap
- The maximum allowed gap in a line for the line to still be considered one object.
Valid values are in the range 0 to 20.
- maximumCharacterRepairSize
- Will reconstruct intersected characters within the given size after performing line removal.
Valid values are in the range 0 to 100.
See Also