Hi Sirs,
The PDF’s format does not match when doc save to pdf file.
My codes are below,
string MyDir = @“C:\projects\asposeWord”;
Document doc = new Document(MyDir + “word2pdf.doc”);
PdfSaveOptions saveOptions = new PdfSaveOptions();
saveOptions.EmbedFullFonts = true;
doc.Save(MyDir + “word2pdf.pdf”, saveOptions);
The attach file(testingFiles.zip) is testing files (word2pdf.doc, word2pdf.pdf, word2pdf.png).testingFiles.zip (388.4 KB)
Thanks for your help.
ps.
1.word2pdf.doc file is created by aspose.wrods .
2.the format will match after i open word2pdf.doc with Word to save it.