The margin changed on second page
1 view (last 30 days)
Show older comments
John on 25 Sep 2020
Commented: John on 29 Sep 2020
Using the import mlreportgen.dom.* the report is OK with rpt.CurrentPageLayout.PageMargins. However, the margin changed by itself on second page (the content flows to the sedond page as it's going). Repeating the definition with margins did not correct it.
What's wrong did I do?
Rhea Chandy on 29 Sep 2020
The class PageMarginsObj = PageMargins() will specify default page margins for the section of the document.
In the file I’ve attached, I’ve implemented a code with dummy text that spills over to a second page.
In this case, it is following expected behavior, adhering to the set PageMargins.
More Answers (0)
Find more on Page Layout in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!