This code is generating the Line in Excel 2003 (.xls file) but is not adding the line in Excel 2007 (.xlsx file). We are using Aspose.Cells for Java.
com.aspose.cells.LineShape tempLine = shapes.addLine(1, 1, 5,
5, 100, 100);
ShapeLine tempLineFormat = tempLine.getLine();
tempLineFormat.setVisible(true);tempLineFormat.setColor(Color.BLACK);tempLineFormat.setWeight(5);
tempLineFormat.setDashStyle(MsoLineDashStyle.SOLID);tempLine.setFilled(
true);tempLine.setHasLine(true);tempLine.setHeight(100);
tempLine.setWidth(100);
This message was posted using Aspose.Live 2 Forum