当单元格类型设置为ImageCellType,如何能设置备注显示
如题:ImageCellType imageCellType = new ImageCellType();
spread.Sheets.Columns[(int)InCols.WARNING].CellType = imageCellType;
sv.Cells.NoteIndicatorSize = new Size(5, 5);
sv.Cells.ForeColor = Color.Red;
sv.Cells.NoteIndicatorColor = Color.Red;
if (ipmOrderInfo.SiFlagNew == "0")
{
sv.Cells.Note = "符合医保";
}
设置后单元格不显示备注
本帖最后由 Richard.Ma 于 2021-12-23 10:13 编辑
问题已经收到,我这里测试正常设置note即可,如果你程序有问题的话,请上传一个demo上来我帮你看看
下面是验证的代码
FpSpread1.ActiveSheetView.Cells.CellType = new ImageCellType("test.jpg");
FpSpread1.ActiveSheetView.Cells.Note = "sfetfe";
页:
[1]