This article provides sample code explaining how to use the JavaScript API via C++ to calculate Page Setup scaling factor using Fit to n page(s) wide by m tall option of Excel worksheet programmatically....enc" , fontPath : "/fonts/" , fontList : [ "arial.ttf"...Calculate page scale via sheet render const sr = new SheetRender...