NPOI
NPOI copied to clipboard
XSSFRichTextString ApplyFont 问题
如果多次调用 XSSFRichTextString ApplyFont,且在多次调用中传入的 startIndex和endIndex有重合,则会导致对应的Font不生效: 目标文本: 保时捷保时捷保时捷
richTextString.Apply(0,3,customFont); richTextString.Apply(3,6,customFont); richTextString.Apply(6,9,customFont);
这样的情况下customFont不生效