document the code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hey all,
i'm trying to document some syntax by pasting it into word and i was just
wondering if there was a way that when i paste it into the doc it retains the
syntax color coding and/or font?

thanks,
rodchar
 
rodchar,

When pasting into Word, you will want to go to the Edit menu (I'm not
sure where to find the option in Word 2007, but I'm sure it is there) and
select "Paste Special". On the dialog that comes up, there is an option
"Formatted Text (RTF)". Select this and it will paste the code on the
clipboard (copied from VS.NET) with the formatting and coloring used in
VS.NET.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top