grid method

grid(columns, horizontalGap, verticalGap)

Creates a layout in which pages are rendered left-to-right, top-to-bottom, in a grid with the specified number of columns.

grid(columns: number, horizontalGap: number, verticalGap: number)
ParameterTypeDescription
columnsnumberThe number of columns in the layout. Must be greater than zero.
horizontalGapnumberThe horizontal gap between columns in points.
verticalGapnumberThe vertical gap between rows in points.

Exceptions

exceptioncondition
RuntimeError (Proxy error(ArgumentOutOfRangeException))Thrown if columns is less than or equal to zero.

See Also