This article provides sample code to set page options of Excel worksheets programmatically using the C++ API. You will be able to set Page Orientation, Scaling Factor, FitToPages Options, Paper Size, Print Quality, First Page Number....Startup (); // Source directory path U16String srcDir ( u ".. \\...\\ " ); // Output directory path U16String outDir ( u ".. \\...