Control where pages break in PDF snapshots, so sections start on a new page or stay together.
Built-in classes
|
Class |
Effect |
|---|---|
|
|
Starts a new page before this component. |
|
|
Starts a new page after this component. |
Use them
-
Open the component's settings, for example a Panel that holds a section, and go to the Display tab.
-
Enter
page-break-beforeorpage-break-afterin Custom CSS Class. -
Save, then use Preview PDF in the form's PDF Snapshot action to check the result.
To use more than one class on a component, separate them with a space, for example page-break-before no-print.