mlreportgen.dom.HTMLPage Class
Namespace: mlreportgen.dom
Description
Use an object of the mlreportgen.dom.HTMLPage class to create a single HTML page within a multipage HTML document. Add any Document
Object Model (DOM) API content object, such as Text, Paragraph,
Image, Table, to an HTMLPage object.
This class is only compatible with this MATLAB®
Report Generator™ output type, "html-multipage".
The mlreportgen.dom.HTMLPage class is a handle class.
Creation
Description
creates an empty htmlPageObj = mlreportgen.dom.HTMLPageHTMLPage object that generates an HTML file. By default,
the filename is the Document name appended with the page number, except
for the first page, which is root.html. Use its append
method to add content to the HTML page. When added to a DOM Document of
type html-multipage, the API generates an HTML file, which corresponds
to a single page of the multipage HTML report.
also specifies the htmlPageObj = mlreportgen.dom.HTMLPage(fileName)fileName.
also specifies the custom template htmlPageObj = mlreportgen.dom.HTMLPage(fileName,templatePath)templatePath.
also specifies htmlPageObj = mlreportgen.dom.HTMLPage(fileName,domObj)domObj as the page content.
Properties
Methods
Examples
More About
Version History
Introduced in R2024a