'Declaration Public Overrides 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 System.Int32, _
ByRef requiredMarginMargin, in pixels, for each rectangle, which is necessary for correct work of algorithm.As System.Int32 _
) As System.Drawing.Rectangle
public override System.Drawing.Rectangle GetRegionOptimalDecomposition(
Vintasoft.Imaging.VintasoftImage image,
System.Drawing.Rectangle rect,
System.Int32 regionCount,
out System.Int32 requiredMargin
)
public: System.Drawing.Rectangle* GetRegionOptimalDecomposition(
Vintasoft.Imaging.VintasoftImage* image,
System.Drawing.Rectangle* rect,
System.Int32 regionCount,
[PARAMFLAG::Out] System.Int32 requiredMargin
); override
public:
System.Drawing.Rectangle^ GetRegionOptimalDecomposition(
Vintasoft.Imaging.VintasoftImage^ image,
System.Drawing.Rectangle^ rect,
System.Int32 regionCount,
[Out] System.Int32 requiredMargin
); override
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.