0
セルにコメントを設定しようとしていますが、IComment.Visible = false
を設定しても常に表示されます。 NPOI 1.2.3では、すべてが期待どおりに機能しましたが、NPOI 1.2.4ではこの問題が発生しました。以下にコードスニペットを示します。ありがとう。NPOI 1.2.4はIComment.Visibleの値を無視します
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