How to start Header from a later page?

2 views (last 30 days)
Using mlreportgen.dom.PDFPageHeader to generate the header, works fine.
However, the first two pages are different and don't need the header.
How to start Header from page 3 or a later page?

Accepted Answer

Rahul Singhal
Rahul Singhal on 9 Oct 2020
Hi John,
For a PDF Page layout, you can define upto 3 types of page headers: one for first page, one for even pages, and one for odd pages. See
PDFPageHeader class has a PageType property which defines the type of pages that header appears on.
John on 9 Oct 2020
Thank you, Rahul!
By editing my existing script which has slightly different style, I learned more about the pagelayout, margin, footer, header, etc...
Thanks again!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!