Programmatic Report Generation - How to Create a Report in Landscape Orientation
Show older comments
I am trying to create a report in landscape orientation using the following commands:
import mlreportgen.dom.*;
d = Document('test','pdf');
open(d);
sect = d.CurrentDOCXSection;
pageSize = sect.PageSize;
pageSize.Orientation = 'landscape';
I am not having success with this. Am I doing something wrong?
Thank you.
Accepted Answer
More Answers (0)
Categories
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!