## 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.

```cpp
static System::SharedPtr<Aspose::Words::Saving::MultiPageLayout> Aspose::Words::Saving::MultiPageLayout::Grid(int32_t columns, float horizontalGap, float verticalGap)
```


| Parameter | Type | Description |
| --- | --- | --- |
| columns | int32_t | The number of columns in the layout. Must be greater than zero. |
| horizontalGap | float | The horizontal gap between columns in points. |
| verticalGap | float | The vertical gap between rows in points. |

## See Also

* Class [MultiPageLayout](../)
* Class [MultiPageLayout](../)
* Namespace [Aspose::Words::Saving](../../)
* Library [Aspose.Words for C++](../../../)
