'Declaration Public Overridable Function GetRegionOptimalDecomposition( _
ByVal imageSource image.As Vintasoft.Imaging.VintasoftImage, _
ByVal rectRectangle, which must be decomposed.As System.Drawing.Rectangle, _
ByVal regionCountCount of regions in decomposition.As Integer, _
ByRef requiredMarginMargin, in pixels, for each rectangle, which is necessary for correct work of algorithm.As Integer _
) As System.Drawing.Rectangle
public virtual System.Drawing.Rectangle GetRegionOptimalDecomposition(
Vintasoft.Imaging.VintasoftImage image,
System.Drawing.Rectangle rect,
int regionCount,
out int requiredMargin
)
public: virtual System.Drawing.Rectangle* GetRegionOptimalDecomposition(
Vintasoft.Imaging.VintasoftImage* image,
System.Drawing.Rectangle* rect,
int regionCount,
[PARAMFLAG::Out] int requiredMargin
)
public:
virtual System.Drawing.Rectangle^ GetRegionOptimalDecomposition(
Vintasoft.Imaging.VintasoftImage^ image,
System.Drawing.Rectangle^ rect,
int regionCount,
[Out] int requiredMargin
)
Parameters
- image
- Source image.
- rect
- Rectangle, which must be decomposed.
- regionCount
- Count of regions in decomposition.
- requiredMargin
- Margin, in pixels, for each rectangle, which is necessary for correct work of algorithm.
Return Value
Array of rectangles, which represent optimal decomposition of the specified rectangle.