This article provides sample code to set page options of Excel worksheets programmatically using Node.js via C++. Set Page Orientation, Scaling Factor, FitToPages Options, Paper Size, Print Quality, First Page Number....to the documents directory. const dataDir = path . join ( __dirname..."data" ); const filePath = path . join ( dataDir , "PageOrientation_out...