This article provides sample code to set page options of Excel worksheets programmatically using C# API and .NET Library. You will be able to set Page Orientation, Scaling Factor, FitToPages Options, Paper Size, Print Quality, First Page Number....Cells provides a class, Workbook , that represents a Microsoft...Microsoft Excel file. The Workbook class contains a Worksheets collection...