Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将 XML 文档转换为 rtf 文档。 我可以成功地执行 xml 到 pdf 的转换,但是每当我尝试使用RtfWriter.GetInstance或 RtfHeaderFooters收到以下错误消息时:
RtfWriter.GetInstance
RtfHeaderFooters
当前上下文中不存在名称 Rtfwriter
我似乎无法访问任何 rtf 程序集。有没有人遇到过类似的问题或有可能的解决方案?
谢谢
我遇到了同样的问题。你应该使用:
RtfWriter2 rtfWriter = RtfWriter2.GetInstance(...);