How can I restrict image size on templates using Report Generation Toolbox?
1 view (last 30 days)
Show older comments
James Morton
on 21 Dec 2021
Commented: James Morton
on 3 Jan 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
0 Comments
Accepted Answer
Anshika Chourasia
on 30 Dec 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:
More Answers (0)
See Also
Categories
Find more on MATLAB Report Generator in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!