This article provides sample code to set page options of Excel worksheets programmatically using JavaScript via C++. Set Page Orientation, Scaling Factor, FitToPages Options, Paper Size, Print Quality, First Page Number....orientation to Portrait (property assignment per getter/setter conversion)...