Filter löschen
Filter löschen

Word Document Template Paper Size

1 Ansicht (letzte 30 Tage)
Benjamin Green
Benjamin Green am 10 Aug. 2017
I have created a word document template of paper size US Letter (8.5" x 11"), and the orientation is set to landscape. When I use this template to create the report, the paper size comes out as (11" x 8.5") with the orientation as landscape. Is there any way to have the generated word document have the correct paper size and orientation?

Antworten (1)

Sangeetha Jayaprakash
Sangeetha Jayaprakash am 14 Aug. 2017
I assume you are using "orient('landscape')" command to set the orientation.
If you are using MATLAB R2016a or newer version, the 'PaperPositionMode' is set to 'auto' by default.
So, the "orient('landscape')" is probably not being reflected. Try to set the 'PaperPositionMode' to 'manual' before setting the paper orientation.
For more information on this property, refer this link:

Kategorien

Mehr zu MATLAB Report Generator finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by