OuterMargin change in a table in mlreportgen.ppt?

4 vues (au cours des 30 derniers jours)
Bonsung Koo
Bonsung Koo le 10 Mar 2023
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,

Réponses (1)

Rasmita
Rasmita le 11 Mai 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 useFontSize’ property of mlreportgen.ppt.Text’ class.
For more information, please refer to the below documentation links:
Hope this helps!
Regards,
Rasmita

Produits


Version

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by