We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Not able to add LineShape into Excel 2007

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

Hi,

Well, I am afraid, the line shape is not supported for MS Excel 2007 format.

We have logged your feature request into our issue tracking system with an issue id: CELLSJAVA-16451. We will analyze the feature and get back to you soon.

Thank you.


So how do we add lines into MS Excel 2007.
What method can i use for that?



Hi,

Ad I said earlier in my previous reply that the feature is not available for MS Excel 2007 and we have already added the issue into our issue tracking system with an issue id: CELLSJAVA-16451. We will check if we can provide an eta for the feature soon.



Thank you.