OuterMargin change in a table in mlreportgen.ppt?
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Rasmita
2023-5-11
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!