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)
Parameter | Type | Description |
---|
columns | number | The number of columns in the layout. Must be greater than zero. |
horizontalGap | number | The horizontal gap between columns in points. |
verticalGap | number | The vertical gap between rows in points. |
Exceptions
exception | condition |
---|
RuntimeError (Proxy error(ArgumentOutOfRangeException)) | Thrown if columns is less than or equal to zero. |
See Also