المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Own Report Printer - How to print out Source Code (syntax highlighting)



C# Programming
07-16-2009, 11:11 AM
Hello

I have a question concerning printing out source code (in my case VBScript Source) with highlighted syntax, line numbering etc.

I'm actually working on a printer routine.
It should be possible to print out a "VBScript Code Snippet".

How is it possible to print out that code a syntax highlighted way?

Is there already a .NET standard method to do this?
Or do I have to parse every command to color it?


Thanks in advance for any advices