Azzera filtri
Azzera filtri

Word Document Template Paper Size

1 visualizzazione (ultimi 30 giorni)
Benjamin Green
Benjamin Green il 10 Ago 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?

Risposte (1)

Sangeetha Jayaprakash
Sangeetha Jayaprakash il 14 Ago 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:

Categorie

Scopri di più su MATLAB Report Generator in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by