Getting content as HTML

SyntaxEditor for Windows Forms Forum

Posted 18 years ago by Ashton - Developer, Schema Solutions LLC
Avatar
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?

Thanks,

Ashton

Comments (1)

Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
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.1) was released 27 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.