// Load the Excel file
Workbook workbook = new Workbook("sample.xlsx");

// Access the first worksheet
Worksheet sheet = workbook.Worksheets[0];

// Access the PageSetup object
PageSetup pageSetup = sheet.PageSetup;

// Set the scaling to a specific percentage (e.g., 75%)
pageSetup.Zoom = 75;

// Save the modified workbook
workbook.Save("output_scaled_percentage.xlsx");