In my project, I'm currently loading ribbons in Excel add-in using Office.js Ribbon API
Office.ribbon.requestCreateControls(Ribbon_JSON_HERE);
I would like to know how to achieve customize a ribbon's size definition and scaling policies via Ribbon API. I found a doc that can do this in a manifest.xml way - https://docs.microsoft.com/en-us/windows/win32/windowsribbon/windowsribbon-templates . I need the ability to do this using Ribbon API.