Set optimal width by C#
Posted: Sat May 07, 2022 10:31 am
Hi i am developing with libre calc.
I want to set optimal width automitically.
I recorded the macro.
It's like blow:
Or
But it didnt work with set property for SetOptimalColumnWidthDirect.
Can anyone help me on this one?
I want to set optimal width automitically.
I recorded the macro.
It's like blow:
Code: Select all
dispatcher.executeDispatch(document, ".uno:SetOptimalColumnWidthDirect", "", 0, Array())Code: Select all
dispatcher.executeDispatch(document, ".uno:SetOptimalColumnWidth", "", 0, Array())Can anyone help me on this one?