LayoutGridGetGapSize

Syntax

ColumnGap = LayoutGridGetGapSize(Layout, *Columns.Integer=#Null, *Rows.Integer=#Null)

Description

Retrieves the size of the gaps (gutters) between columns and rows in a Grid layout.

Parameters

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

*Columns.Integer (optional)
A pointer to an integer variable that will receive the column gap size.

*Rows.Integer (optional)
A pointer to an integer variable that will receive the row gap size.

Return Value

Returns the column gap size as an Integer. Returns #False (0) if the layout handle is invalid or if the layout is not of type Grid. The row gap size is returned via the optional pointer.

See Also

LayoutSetType, LayoutGridSetGapSize, LayoutGridGetGapSizeColumns, LayoutGridGetGapSizeRows

Supported OS

Windows, Linux