// Create a new workbook Workbook workbook = new Workbook(); IWorksheet worksheet = workbook.getWorksheets().get(0); IShape shape = worksheet.getShapes().addShape(AutoShapeType.RightArrowCallout, 20, 20, 200, 100); IAdjustments adjustments = shape.getAdjustments(); adjustments.set(0, 0.5);// arrow neck width adjustments.set(1, 0.4);// arrow head width adjustments.set(2, 0.5);// arrow head height adjustments.set(3, 0.6);// text box width // Save to an excel file workbook.save("ConfigAdjustmentPoints.xlsx");