How can I restrict image size on templates using Report Generation Toolbox?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
James Morton
el 21 de Dic. de 2021
Comentada: James Morton
el 3 de En. de 2022
Hi,
I am having trouble restricting the size of my images for reports. As you can see (top image), I would like my images to be smaller, and all on one page. But the reports are generated, the images are increased in size to where each image takes over a page (bottom image). If anyone has any experience with this it would be greatly apreciated.
Thanks
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/840405/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/840410/image.png)
0 comentarios
Respuesta aceptada
Anshika Chourasia
el 30 de Dic. de 2021
Hi James,
I understand that you are trying to restrict the size of the images. “FormalImage” class contains height and width properties of an image. Therefore, you can modify an image’s heigh and width by setting them to the desired value. Please refer the below link for adding and resizing an image to a report:
Más respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Report Generator en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!