听说有一套office developer,是用这个么?哪里有下的?

解决方案 »

  1.   

    你直接调用word然后不要将其显示,直接打印就可以,你可以参照一下用word打印成绩表的例子,桂州一个学校的写的开源代码。
      

  2.   

    导入office的com:
    Excel.Workbook myBook;
                Excel.Application myExcel=new Excel.ApplicationClass();
    Excel.Worksheet mySheet=new Excel.WorksheetClass();
    mySheet.PrintOut(Type.Missing,Type.Missing,Type.Missing,Type.Missing,Type.Missing,Type.Missing,Type.Missing,Type.Missing);
      

  3.   

    推荐一个文章:看看打印部分的print preview ,printout《Understanding the Word Object Model from a .NET Developer's Perspective》
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_vsto2003_ta/html/wordobject.asp