# Page Break

## Content

The page break property specifies whether to add a new page after a field or not. It is determined by the location of the template cell in the generated report.

* If the template cell in the generated report is located in the first row and the first column then no page break is added.
* If the template cell in the generated report is located in the first column, horizontal page break is added.
* If the template cell in the generated report is located in the first row, vertical page break is added
* If the template cell in the generated report is located in any other location than the first row and first column, both horizontal and vertical page breaks area added

**Value:** Boolean
*Pagebreak=True*
*Pagebreak=False* (Default value)
**Example**
{{ds.field(Pagebreak=true)}}
The below image shows that a page break will be added after 'Category' field. You can also download the [Excel template layout](https://cdn.mescius.io/document-site-files/images/e333ad47-35da-43f9-a389-25433765f491/templates/setpagebreak%5Btemplate%5D.xlsx) used in below example.
![DsExcel template and generated report showing a page break inserted after Category by setting Pagebreak=true.](https://cdn.mescius.io/document-site-files/images/e333ad47-35da-43f9-a389-25433765f491/images/pagebreak.png)

>type=note
> **Note**: In pagination mode, the **Pagebreak** template property is ignored.