SpanGrid.Nest Method

Nest a grid inside this grid using a bottom left fill algorithm. NOTE! The part is not inserted in the grid!
public bool Nest( 
   SpanGrid part
   Point start
   Rectangle area
   ref Point pos
   int ystep = 1 
)

Parameters

part
SpanGrid

The part to nest

start
Point

The initial position of the part (a speedup)

area
Rectangle

Part must be nested inside this area

pos
Point

The resulting position

ystep
int

Return Value

bool

true if part could be nested false otherwise

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition