CodeHighlighter in a WinForms project

CodeHighlighter for ASP.NET Forum

Posted 21 years ago by obelink
Avatar
Hi,

I know that is control is a ASP.NET control, but in the license agreement I've read that it is possible to use this control in a WinForms project.
Is this possible and if so... how can I add this control to a form.

Thanks!

Andre Obelink

Comments (1)

Posted 20 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
My apologies for not replying sooner. We set up our forums to e-mail us when posts are made however the e-mails for this forum were never wired up so we never noticed new posts. <IMG SRC="smile.gif" border="0"> This is fixed now.

You can use CodeHighlighter in a WinForms project. You simply create an instance of the CodeHighlighterEngine class and call the GenerateHtmlInline method. You pass the code and the language definition and it will generate the HTML output.

If you're looking for a full-fledged editor control for WinForms with active syntax-highlighting then you need our SyntaxEditor control. It uses the same language definition format and is the most feature-rich syntax-highlighting component available for .NET. More information is available on our web site.


Actipro Software Support

The latest build of this product (v4.0.59) was released 14 years ago, which was after the last post in this thread.