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....configure page‑setup settings for worksheets to control printing. These...Microsoft Excel file. The Workbook class contains a Worksheets collection...