itsxwz 2021-12-11 14:43 采纳率: 0%
浏览 42
已结题

Unity工程中如何把html文件或html格式的字符串转换为图片?

1.WebBrowser方式,Bitmap引入的dll冲突。
2.Aspose.HTML,在new HTMLDocument时报错:NotSupportedException: No data is available for encoding 10007. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method. 引入System.Text.Encoding.CodePages并不能解决问题,仍然报这个错误。
3.HtmlRenderer方式未走通。

  • 写回答

1条回答 默认 最新

  • 关注

    NotSupportedException不支持的异常操作。

    评论

报告相同问题?

问题事件

  • 已结题 (查看结题原因) 12月24日
  • 创建了问题 12月11日