Carriage returns in Word Document

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.
 
C

cwineman

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?
 

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

Top