Borrar filtros
Borrar filtros

Word Document Template Paper Size

1 visualización (últimos 30 días)
Benjamin Green
Benjamin Green el 10 de Ag. de 2017
Respondida: Sangeetha Jayaprakash el 14 de Ag. de 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?

Respuestas (1)

Sangeetha Jayaprakash
Sangeetha Jayaprakash el 14 de Ag. de 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:

Categorías

Más información sobre MATLAB Report Generator en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by