ScanFix Xpress v9.0 for .NET - Updated
DilateOptions Constructor(EnhancementDirections,Int32,Boolean)




Accusoft.ScanFixXpressSdk Namespace > DilateOptions Class > DilateOptions Constructor : DilateOptions Constructor(EnhancementDirections,Int32,Boolean)
The direction to apply the dilation. Pixels will be extended in these directions. Typically, this is set to a single direction, a pair of directions, or All.
The distance to extend pixels.
true if pixels should only be extended 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 DilateOptions object setting the specified values.
Syntax
'Declaration
 
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 DilateOptions(direction, amount, onlyDiagonal)
public DilateOptions( 
   EnhancementDirections direction,
   int amount,
   bool onlyDiagonal
)
public: DilateOptions( 
   EnhancementDirections direction,
   int amount,
   bool onlyDiagonal
)
public:
DilateOptions( 
   EnhancementDirections direction,
   int amount,
   bool onlyDiagonal
)

Parameters

direction
The direction to apply the dilation. Pixels will be extended in these directions. Typically, this is set to a single direction, a pair of directions, or All.
amount
The distance to extend pixels.
onlyDiagonal
true if pixels should only be extended 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

DilateOptions Class
DilateOptions Members
Overload List

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