OuterMargin change in a table in mlreportgen.ppt?
5 views (last 30 days)
Show older comments
Hi,
I have a table in my ppt slide I generated by mlreportgen.ppt.
I would like change the margin of cells in the table. For example, I would like to change all the margine of elements to 0 to make the picture attached here.
I know there is a object, OuterMargin in mlreportgen.dom, but I couldn't find it in mlreportgen.ppt. (OuterMargin('0pt','0pt','0pt','0pt'))
I would appreciate if you confirm that mlreportgen.ppt does or doens't have this format change option (OuterMargin).
*if not, I would appreciate any ideas to resolve this issue.
Thanks,
0 Comments
Answers (1)
Rasmita
on 11 May 2023
Hi,
As per my understanding, you are trying to change the margin of the cells in the table in mlreportgen.ppt. Note that, mlreportgen.ppt doesn’t has this ‘OutMargin’ format change option as one would find in ‘mlreportgen.dom’. Also ‘mlreportgen.ppt’ package does not provide a direct option to change the margin of cells in a table.
However, there is a way to change the cell margins by changing the font size of the texts inside the cell. Please use ‘FontSize’ property of ‘mlreportgen.ppt.Text’ class.
For more information, please refer to the below documentation links:
Hope this helps!
Regards,
Rasmita
0 Comments
See Also
Categories
Find more on Matrix Indexing 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!