Wide of page in Word

K

Kim

I have tranform a Table list to Word and got the rigth font and char size but
I allso want to set number of char fore a line so the document get rigth look
code

public static void WordInsertText(ref word.Document doc, string text)
{
object missing = System.Reflection.Missing.Value;

word.Range r = doc.Range(ref missing, ref missing);
r.Text = text;
r.Font.Name = "Courier New";
r.Font.Size = 10.0F;
}

I work in VS2005 and Word 2003

The problem is that there is a _______ string form one end of the page to
the other form that override ToString the application use.

Best Regard
Kim s.
 
K

Kim

Kim Answer
I have used \u2500 as "_" I change the \2500 ASCII code to "_" and that give
me the solutionsen.

Kim S.
 

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