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....body > < script src = "aspose.cells.js.min.js" ></ script > < script...log ( strPageScale ); }); </ script > </ html > How to Set Print...