mlreportgen.dom.Page Class
Namespace: mlreportgen.dom
Create page number placeholder
Description
Use an object of the mlreportgen.dom.Page class to create a placeholder for a page number. This object applies only to Word
and PDF output. For Word output, opening the Word document causes Word to replace this
object with the current page number. For PDF output, the DOM API replaces this object
with the current page number when writing the document.
To see what DOM objects you can append an mlreportgen.dom.Page object to,
see Append mlreportgen.dom.Page 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.Page class is a handle class.
Creation
Description
creates a
current page number object.PageNum = Page
Properties
Examples
More About
Version History
Introduced in R2016a