The margin changed on second page
2 次查看(过去 30 天)
显示 更早的评论
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
2020-9-29
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.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!