mlreportgen.dom.PageBreak Class
Namespace: mlreportgen.dom
Page break in a Word or PDF report
Description
Use an object of the mlreportgen.dom.PageBreak class to insert a page break anywhere in a Microsoft® Word or PDF report.
Tip
Use an mlreportgen.dom.PageBreakBefore object to force a page break
before a specific paragraph. For example, use PageBreakBefore to
force chapters to start on a new page.
To see what DOM objects you can append an mlreportgen.dom.PageBreak object to,
see Append mlreportgen.dom.PageBreak object to DOM class object.
This class is only compatible with these MATLAB® Report Generator™ output types:
"docx""pdf""pdfa"(since R2025a)
The mlreportgen.dom.PageBreak class is a handle class.
Class Attributes
HandleCompatible | true |
ConstructOnLoad | true |
Creation
Description
creates a page break object.break = mlreportgen.dom.PageBreak
Properties
Methods
Examples
More About
Version History
Introduced in R2016a