// Create a new workbook Workbook workbook = new Workbook(); IWorksheet ws = workbook.getWorksheets().get("Sheet1"); ws.getControls().addLabel(25.8, 9.6, 27, 13.2).setText("This is a label."); // Save to an excel file workbook.save("LabelsBasicUsage.xlsx");