Page Layout
You can specify formatting by using Microsoft® Word, PDF, and HTML template formatting styles.
Classes
Topics
- Create Page Layout SectionsCreate report sections. Divide a Word or PDF report into sections with different layouts. 
- Create Page Footers and HeadersCreate footers and headers for a report. 
- Customize the Page Size and Margins of a Report ProgrammaticallyUse Report API objects to customize page dimensions. 
- Set Page Margins in a Word ReportDefine margins and header, footer, and gutter sizes for a DOCX page. 
- Customize the Page Size and Margins of a Word Report Using TemplatesModify the page dimensions in the Word templates for the title page, table of contents, and chapter reporters. 
- Set Page Margins in a PDF ReportDefine margins and header, footer, and gutter sizes for a PDF page. 
- Customize the Page Size and Margins of a PDF Report Using TemplatesModify the page dimensions in the PDF templates for the title page, table of contents, and chapter reporters. 
- Style Sheet Cells for Headers and FootersUse style sheet cells to manage headers and footers in reports. 
- Create a Report with Landscape PagesGenerate a report that has landscape pages. 
- Create a Report with Portrait and Landscape PagesGenerate a report that has both portrait and landscape pages. 
- Side-by-Side FiguresArrange MATLAB figures next to each other on a page. 
- Side-by-Side ImagesArrange images next to each other on a page. 
- Scale Image to Fit PageUse an mlreportgen.dom.ScaleToFitobject to make an image fit on a page.
- Center Figure Snapshot on a PageCenter a figure snapshot on a landscape page for PDF and Word reports. 
- Center Image on a PageCenter an image using an invisible 1-by-1 table that has the same size as the page body. 
- Center Formal Image in a PDF ReportCenter a formal image using an invisible 1-by-1 table that has the same size as the page body. 
- Configure PDF FontsFor PDF output, MATLAB® Report Generator™ comes configured with default fonts: a serif, a sans serif, and dingbats. 
- Report Formatting ApproachesFormat a report by using style sheets, format objects, or format properties. 
- Use Style Sheet StylesA style is a collection of formats that define the appearance of a document object, such as a paragraph, table, or list. 
- Format InheritanceUse template-based styles and format object-based styles to define the appearance of a document element object.