This article provides sample code to set page options of Excel worksheets programmatically using C++ API. You will be able to set Page Orientation, Scaling Factor, FitToPages Options, Paper Size, Print Quality, First Page Number....the worksheet to a specific number of pages, use the PageSetup...GetWorksheets (). Get ( 0 ); // Set the number of pages to which the length...