Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.
Mon Aug 28, 2017 10:29 am
Hello
I want to convert rich text to html, but don't want to use RichTextEditor control. I wish there was a solution or at least we could get rich text in forma of <text,font> pairs, the same way as it is added to rich text.
The solution is good but loading a separate library costs resources. It could be useful to provide <string,font> pairs. For this time, I will use the library as you suggested.
Thanks for your feedback. It is not practical to get rich text directly in the format of <string,font> pairs, you have to get the rich text string first and manipulate the content. The solution I provided is the best approach so far. Once there's any better choice in the future, I will let you know.