Hi
we are using Aspose Java in our application
I having trouble in Aspose Cells, when try to draw Auto Shape
I am trying to draw a BENT line, from given column, row and giving the width.
Line is being drawn but not starting at given Column , say column 2, instead of starting at end of column 2 its starting some where in middle between column 1 & 2.
Code Snippet:
int drawingType = (widthPixels < 0) ? AutoShapeType.LINE : AutoShapeType.BENT_CONNECTOR_2;
Shape addShape = shapes.addAutoShape(33,
29, 0, 2, 0,
102, 405);
Shape addShape = shapes.addAutoShape(drawingType,
fromRow, 0, fromCol, 0,
sheet.getCells().getStandardHeightPixels()*heightInRows, widthPixels);
Attached is snapshot of excel.