Carriage returns in Word Document

  • Thread starter Thread starter Doug
  • Start date Start date
D

Doug

How do I add a carriage return in a Word Document using C#? When I try
the \r\n it doesn't work, it prints the character that represents a
carriage return, but doesn't actually do a carriage return.
 
Have you tried the System.Environment.NewLine property?
If that doesn't work, could you show us the section in your code where you
are trying to insert the newline?
 
I'll try that Monday when I get back to work and let you know. Thanks!
 

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