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.... log ( "Aspose.Cells initialized"...strPageScale } </p>` ; console . log ( strPageScale ); }); </ script...