Quantcast
Channel: ColorCode - Syntax Highlighting/Colorization for .NET
Viewing all articles
Browse latest Browse all 89

New Post: How to Use

$
0
0

Hi,

I am new to .net. How can i use the colorcode.

I write something in my code

 

string filecontent = File.ReadAllText(nodefullpath); 

string colorizedSourceCode = new CodeColorizer().Colorize(filecontent, Languages.Html);

htmleditor.Text = colorizedSourceCode;

where htmleditor is a multiline textbox. But i didn't get the colored code in this textbox. where i am doing wrong please help me...

 


Viewing all articles
Browse latest Browse all 89

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>