How do I force / control page breaks in DominoPDF?

DominoPDF supports page breaks via the CSS page-break-before/inside/after styles.

You can either use style-sheets in your Notes document design, for example;

<style type=”text/css”>
<!–
.break {page-break-after: always}
–>
</style>

Or a simpler method of in-line HTML, for example;

<p STYLE=”page-break-after: always”></p>

By entering this CSS style in your document HTML DominoPDF with recognise the style tags and force a page break accordingly when rendering to PDF.

Comments are closed.