Main Content



Current page layout of report


pglayout = getReportLayout(report)


pglayout = getReportLayout(report) returns the current page layout of this report. Use this method only in the getImpl method of a custom reporter to get the page layout of the report section that it generates. Using this method in other contexts might produce incorrect results.


Use the Layout property of the,, and reporters to modify the page layouts of the report sections they generate.

Input Arguments

expand all

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

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.

Version History

Introduced in R2018a