about extra '\r'

Ç

ÇØÈðÃ÷

private void Application_DocumentBeforeSave(Word.Document Doc, ref bool SaveAsUI, ref bool Cancel)
{
Doc.Content.Text = "hi\r";
}

but this command make me confuse,for the monitor shows that
Doc.Content.Text = "hi\r\r";

even if i trimend not affect it

who can tell me how to resolve it

thanx
 

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