This article provides sample code explaining how to use the JavaScript API via C++ to calculate Page Setup scaling factor using the Fit to n page(s) wide by m tall option of an Excel worksheet programmatically....addEventListener ( 'click' , async () => { const fileInput = document...