LayoutGridGetJustifyContent

Syntax

JustifyMode = LayoutGridGetJustifyContent(Layout)

Description

Retrieves the current horizontal alignment mode for the entire grid structure within its container.

Parameters

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

Return Value

Returns one of the content justification constants if successful:

#PG_Grid_JustifyContent_Start
#PG_Grid_JustifyContent_Center
#PG_Grid_JustifyContent_End
#PG_Grid_JustifyContent_SpaceAround
#PG_Grid_JustifyContent_SpaceBetween
#PG_Grid_JustifyContent_SpaceEvenly

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

See Also

LayoutSetType, LayoutGridSetJustifyContent

Supported OS

Windows, Linux