ImageGear .NET v25.2 - Updated
ImGearICBorderOptions Constructor(Int32,Int32,Int32,Int32,Int32,Int32)
Example 




ImageGear.Processing.Advanced Assembly > ImageGear.Processing.ImageClean Namespace > ImGearICBorderOptions Class > ImGearICBorderOptions Constructor : ImGearICBorderOptions Constructor(Int32,Int32,Int32,Int32,Int32,Int32)
Max size of the left border.
Max size of the right border.
Max size of the top border.
Max size of bottom border.
Min number of lines with width not less than minLineWidthInBlock in one border block.
Min width of lines in one border block. Those blocks that have not less than minLineCountInBlock number of lines with minLineWidthInBlock width or wider will be removed from image.
Initializes a new instance of the ImGearICBorderOptions class.
Syntax
'Declaration
 
Public Function New( _
   ByVal maxLeftBorderSize As Integer, _
   ByVal maxRightBorderSize As Integer, _
   ByVal maxTopBorderSize As Integer, _
   ByVal maxBottomBorderSize As Integer, _
   ByVal minLineCountInBlock As Integer, _
   ByVal minLineWidthInBlock As Integer _
)
'Usage
 
Dim maxLeftBorderSize As Integer
Dim maxRightBorderSize As Integer
Dim maxTopBorderSize As Integer
Dim maxBottomBorderSize As Integer
Dim minLineCountInBlock As Integer
Dim minLineWidthInBlock As Integer
 
Dim instance As New ImGearICBorderOptions(maxLeftBorderSize, maxRightBorderSize, maxTopBorderSize, maxBottomBorderSize, minLineCountInBlock, minLineWidthInBlock)
public ImGearICBorderOptions( 
   int maxLeftBorderSize,
   int maxRightBorderSize,
   int maxTopBorderSize,
   int maxBottomBorderSize,
   int minLineCountInBlock,
   int minLineWidthInBlock
)
public: ImGearICBorderOptions( 
   int maxLeftBorderSize,
   int maxRightBorderSize,
   int maxTopBorderSize,
   int maxBottomBorderSize,
   int minLineCountInBlock,
   int minLineWidthInBlock
)
public:
ImGearICBorderOptions( 
   int maxLeftBorderSize,
   int maxRightBorderSize,
   int maxTopBorderSize,
   int maxBottomBorderSize,
   int minLineCountInBlock,
   int minLineWidthInBlock
)

Parameters

maxLeftBorderSize
Max size of the left border.
maxRightBorderSize
Max size of the right border.
maxTopBorderSize
Max size of the top border.
maxBottomBorderSize
Max size of bottom border.
minLineCountInBlock
Min number of lines with width not less than minLineWidthInBlock in one border block.
minLineWidthInBlock
Min width of lines in one border block. Those blocks that have not less than minLineCountInBlock number of lines with minLineWidthInBlock width or wider will be removed from image.
Remarks
This constructor creates and initializes an instance of ImGearICBorderOptions class.
Example
ImGearICBorderOptions borderOptions = new ImGearICBorderOptions(100, 100, 100, 100, 10, 10);
ImGearIC.CleanBorders(igRasterPage, borderOptions);
Dim borderOptions As ImGearICBorderOptions
borderOptions = New ImGearICBorderOptions(100, 100, 100, 100, 10, 10)
ImGearIC.CleanBorders(igRasterPage, borderOptions)
See Also

Reference

ImGearICBorderOptions Class
ImGearICBorderOptions Members
Overload List
CleanBorders Method

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