OuterMargin change in a table in mlreportgen.ppt?
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1320765/image.png)
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 Kommentare
Antworten (1)
Rasmita
am 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 use ‘FontSize’ property of ‘mlreportgen.ppt.Text’ class.
For more information, please refer to the below documentation links:
Hope this helps!
Regards,
Rasmita
0 Kommentare
Siehe auch
Kategorien
Mehr zu Language Support finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!