Version

OptimizedRectanglesVerticalPositions Method

Optimize the positions of multiple rectangles so that they do not overlap
Syntax
'Declaration
 
Public Shared Function OptimizedRectanglesVerticalPositions( _
   ByVal items As IList(Of Rectangle), _
   ByVal bounds As Rectangle _
) As Double()
public static double[] OptimizedRectanglesVerticalPositions( 
   IList<Rectangle> items,
   Rectangle bounds
)

Parameters

items
List of Items' rectangles for which to calculate new positions
bounds
The bounds of a rectangle in which to re-position the Items

Return Value

An array of the optimized rectangles' positions
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also