string fileName = @"文件路径";
Object Nothing = System.Reflection.Missing.Value;
//生成操作对象
Microsoft.Office.Interop.Word.Application wordApp = new Microsoft.Office.Interop.Word.ApplicationClass();
Microsoft.Office.Interop.Word.Document document;
Object FileName = fileName;
//打开文件
document = wordApp.Documents.Open(ref FileName, ref Nothing, ref f, ref Nothing, ref Nothing, ref Nothing, ref Nothing, ref Nothing,
ref Nothing, ref Nothing, ref Nothing, ref Nothing, ref Nothing, ref Nothing, ref Nothing, ref Nothing);
int parNum = document.Paragraphs.Count;
for (n = 1; n <= parNum; n++)
{
document.Paragraphs[n].Range.Font.Size = 12.0f;//可以设置其他大小的字体
document.Paragraphs[n].Range.Font.Name = "宋体";//可以设置其他字体