با سلام
من با اين تكه كد يك مقداري رو درون فايل word اضافه ميكنم
object oMissing = System.Reflection.Missing.Value;
object oEndOfDoc = "\\endofdoc"; /* \endofdoc is a predefined bookmark */
//Start Word and create a new document.
Word._Application oWord;
Word._Document oDoc;
oWord = new Word.Application();
oWord.Visible = true;
oDoc = oWord.Documents.Add(ref oMissing, ref oMissing,
ref oMissing, ref oMissing);
//Insert a paragraph at the beginning of the document.
Word.Paragraph oPara1;
oPara1 = oDoc.Content.Paragraphs.Add(ref oMissing);
oPara1.Range.Text = textBox1.Text;
oPara1.Range.Font.Bold = 1;
oPara1.Range.Font.Name = String.Format("Zar");
() oPara1.Range.InsertParagraphAfter
در مورد نوشته هاي انگليسي فونت عوض مشيه ولي در مورد متن هاي فارسي تغيير فونت انجام نميشه
لطفا منو راهنمايي كنيد
ممنون