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?
 
Back
Top