The margin changed on second page
1 view (last 30 days)
Show older comments
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?
4 Comments
Accepted Answer
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)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!