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)
ParameterTypeDescription
columnsInt32The number of columns in the layout. Must be greater than zero.
horizontalGapSingleThe horizontal gap between columns in points.
verticalGapSingleThe vertical gap between rows in points.

Exceptions

exceptioncondition
ArgumentOutOfRangeExceptionThrown if columns is less than or equal to zero.

See Also