Accusoft.ScanFixXpress8.Net - Updated
ErodeOptions Constructor(EnhancementDirections,Int32,Boolean)




Accusoft.ScanFixXpressSdk Namespace > ErodeOptions Class > ErodeOptions Constructor : ErodeOptions Constructor(EnhancementDirections,Int32,Boolean)
The direction to apply the erosion. Pixels will be reduced in these directions. Typically, this is set to a single direction, a pair of directions, or All.
The distance to reduce pixels.
True if pixels should only be reduced in a diagonal direction. Typically, this is set to false. It is an error to set this to true if Direction is not set to a pair of adjacent directions.
Instantiates a new ErodeOptions object setting the specified values.
Syntax
'Declaration
 
<DebuggerNonUserCodeAttribute()>
<DebuggerStepThroughAttribute()>
Public Function New( _
   ByVal direction As EnhancementDirections, _
   ByVal amount As Integer, _
   ByVal onlyDiagonal As Boolean _
)
'Usage
 
Dim direction As EnhancementDirections
Dim amount As Integer
Dim onlyDiagonal As Boolean
 
Dim instance As New ErodeOptions(direction, amount, onlyDiagonal)

Parameters

direction
The direction to apply the erosion. Pixels will be reduced in these directions. Typically, this is set to a single direction, a pair of directions, or All.
amount
The distance to reduce pixels.
onlyDiagonal
True if pixels should only be reduced in a diagonal direction. Typically, this is set to false. It is an error to set this to true if Direction is not set to a pair of adjacent directions.
See Also

Reference

ErodeOptions Class
ErodeOptions Members
Overload List