Getting content as HTML

SyntaxEditor for Windows Forms Forum

Posted 17 years ago by Ashton - Developer, Schema Solutions LLC
Is it possible to get content out of the editor in an HTML format that would preserve the syntax coloring?

Basically similar to the Code Highlighter ASP.NET component you have but getting the contents of SyntaxEditor and making it into HTML but with the same syntax coloring that it has in the editor view?

I guess I could write my own to basically look at each token and it's editor style but didn't know if this was available as part of the control itself?



Comments (1)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Yes there is a Document.GetTextAsHtml and I believe also a substring variation that does that.

Actipro Software Support

The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.