你指的错误是怎样的?它的API应该有相关参数设置的

解决方案 »

  1.   

    就是,比如图片,原来WORD中的位置与转完的PDF的位置就不一样了,是错位不是错误
      

  2.   

    你可以用Spire.Doc试一下呢,有免费版。http://www.e-iceblue.com/Introduce/word-for-net-introduce.html
      

  3.   

    Document doc = new Document();
    doc.LoadFromFile("YoudocorDocx.doc");
    doc.SaveToFile("test.pdf",FileFormat.PDF);
      

  4.   

    试试加上PdfSaveOptions,比如Document doc = new Document(MyDir + "in.docx");
                       
    PdfSaveOptions options = new PdfSaveOptions();
    options.ExportDocumentStructure = true;
     
    doc.Save(MyDir + "Out.pdf", options);