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 try with following code

string filecontent = File.ReadAllText(nodefullpath); 

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

htmleditor.Text = colorizedSourceCode;
but i am unable to get the colored syntax. can you please provide a sample for the same.
Regards
gsknbabu

Viewing all articles
Browse latest Browse all 89

Trending Articles



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