Grid
MultiPageLayout.Grid method
Creates a layout in which pages are rendered left-to-right, top-to-bottom, in a grid with the specified number of columns.
public static MultiPageLayout Grid(int columns, float horizontalGap, float verticalGap)
| Parameter | Type | Description |
|---|
| columns | Int32 | The number of columns in the layout. Must be greater than zero. |
| horizontalGap | Single | The horizontal gap between columns in points. |
| verticalGap | Single | The vertical gap between rows in points. |
Exceptions
| exception | condition |
|---|
| ArgumentOutOfRangeException | Thrown if columns is less than or equal to zero. |
See Also