This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

getReportLayout

Class: mlreportgen.report.Report
Package: mlreportgen.report

Current page layout of report

Syntax

pglayout = getReportLayout(report)

Description

pglayout = getReportLayout(report) returns the current page layout of this report. Use this method in the getImpl method of a custom reporter to get the report page layout.

Input Arguments

expand all

Report, specified as a report object. To create the report input, use mlreportgen.report.Report.

Output Arguments

expand all

Current page layout, returned as a page layout object. This method returns the current layout whether the reporter is added directly to the report or indirectly as chapter content. The returned value depends on the report type.

Introduced in R2018a