ScanFix Xpress v9.0 for .NET - Updated
LineRemovalOptions Constructor(Int32,Int32,Double,Int32,Int32)




Accusoft.ScanFixXpressSdk Namespace > LineRemovalOptions Class > LineRemovalOptions Constructor : LineRemovalOptions Constructor(Int32,Int32,Double,Int32,Int32)
The minimum length, in pixels, a line can be to meet the removal criteria. Valid values are in the range 10 to 20000.
The maximum thickness, in pixels, a line can have to meet the removal criteria. Valid values are in the range of 0 to 50.
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.
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.
Will reconstruct intersected characters within the given size after performing line removal. Valid values are in the range 0 to 100.
Instantiates a new LineRemovalOptions object setting the specified values.
Syntax
'Declaration
 
Public Function New( _
   ByVal minimumLength As Integer, _
   ByVal maximumThickness As Integer, _
   ByVal minimumAspectRatio As Double, _
   ByVal maximumGap As Integer, _
   ByVal maximumCharacterRepairSize 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 minimumLength,
   int maximumThickness,
   double minimumAspectRatio,
   int maximumGap,
   int maximumCharacterRepairSize
)
public: LineRemovalOptions( 
   int minimumLength,
   int maximumThickness,
   double minimumAspectRatio,
   int maximumGap,
   int maximumCharacterRepairSize
)
public:
LineRemovalOptions( 
   int minimumLength,
   int maximumThickness,
   double minimumAspectRatio,
   int maximumGap,
   int maximumCharacterRepairSize
)

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

Reference

LineRemovalOptions Class
LineRemovalOptions Members
Overload List

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