Page Breaks

Chapter 1: Introduction

This document demonstrates explicit page breaks. Each chapter below starts on its own fresh page via AddPageBreak(), regardless of how much room was left on the previous page.

Page 1 of 4

Page Breaks

Chapter 2: Methodology

A page break is a structural instruction, not a measured element - it has no height and produces no visible output. The layout engine special-cases it before the usual fit-or-split logic.

Page 2 of 4

Page Breaks

Chapter 3: Results

A leading page break (one with nothing placed on the page yet) is a no-op, so chapters never accidentally produce a blank page before their content.

Page 3 of 4

Page Breaks

Chapter 4: Conclusion

Combine AddPageBreak() with headings to give every major section of a long report its own page, the way a printed document's chapters typically work.

Page 4 of 4