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