Using Office.js Ribbon API for Customizing a Ribbon Through Size Definitions and Scaling Policies

Using Office.js Ribbon API for Customizing a Ribbon Through Size Definitions and Scaling Policies
0

Upvotes

Upvote

 Mar 28 2022
0 Comments 
New

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.