Effacer les filtres
Effacer les filtres

Word Document Template Paper Size

1 vue (au cours des 30 derniers jours)
Benjamin Green
Benjamin Green le 10 Août 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?

Réponses (1)

Sangeetha Jayaprakash
Sangeetha Jayaprakash le 14 Août 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:

Catégories

En savoir plus sur MATLAB Report Generator dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by