How can I restrict image size on templates using Report Generation Toolbox?

4 vues (au cours des 30 derniers jours)
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

Réponse acceptée

Anshika Chourasia
Anshika Chourasia le 30 Déc 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:

Plus de réponses (0)

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