セルにコメントを設定しようとしていますが、設定しても常に表示されIComment.Visible = false
ます。NPOI 1.2.3 ではすべてが期待どおりに機能しましたが、NPOI 1.2.4 ではこの問題が発生しました。以下にコード スニペットを示します。ありがとう。
IComment cellComment = patriarch1.CreateCellComment(new HSSFClientAnchor(0, 0, 0, 0, 4, 2, 14, 5));
HSSFRichTextString richText = new HSSFRichTextString("Some notes on the cell...");
richText.ApplyFont(commentFont);
cellComment.String = richText;
cell.CellComment = cellComment;
cellComment.Visible = false; // ignored