LayoutGridGetFlow

Syntax

FlowMode = LayoutGridGetFlow(Layout)

Description

Retrieves the current auto-placement algorithm mode for a Grid layout container.

Parameters

Layout
The handle of the Grid layout object. If #Null, it targets the current layout.

Return Value

Returns one of the grid flow constants if successful:

#PG_Grid_Flow_Row
#PG_Grid_Flow_RowDense

Returns #False (0) if the layout handle is invalid or if the layout is not of type Grid.

See Also

LayoutSetType, LayoutGridSetFlow

Supported OS

Windows, Linux