comment shape

Aug 13, 2015 at 10:27 AM
Hello,
I cannot control the shapes of comments created with the following code:
ICell cell = sheet.GetRow( row ).GetCell( column );
IDrawing drawing = sheet.CreateDrawingPatriarch( );
XSSFClientAnchor anchor = new XSSFClientAnchor( 0, 0, 0, 0,
    cell.ColumnIndex, cell.RowIndex, cell.ColumnIndex + 10, cell.RowIndex + 3 );
IComment comment = drawing.CreateCellComment( anchor );
comment.String = new XSSFRichTextString( "my comment" );
One comment has a rectangle shape, another rounded rectangle, then triangle, oval etc.
How can I force a rectangle shape for each comment?
Coordinator
Sep 21, 2015 at 8:42 PM
I remember this is fixed. Which version of NPOI are you using? Have you tried the latest version?
Marked as answer by etk on 1/14/2016 at 12:15 AM
Sep 22, 2015 at 6:15 AM
Edited Jan 15, 2016 at 11:44 AM
That's the version 2.1.1.0. I will try with a newer.

Update: works fine with 2.1.3.1. Thanks!