We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Bug word to pdf convert bug

Here we meet a word , and convert to pdf , the output is wrong, maybe is a bug ,please check, we try this on the latest verson

my code

           string srcPath = @"d:\test1.docx";
            string desPath = @"d:\test.pdf";
            fi = new FileInfo(srcPath);
            doc = new Aspose.Words.Document(srcPath);
            Aspose.Words.Saving.PdfSaveOptions saveOption = new 
            saveOption.SaveFormat = Aspose.Words.SaveFormat.Pdf;
            saveOption.DownsampleOptions.DownsampleImages = false;
            doc.Save(desPath, saveOption);
            if (doc != null) { doc.Cleanup(); doc = null; }

error_result.png (28.4 KB)
output.pdf (98.1 KB)
srcFile.png (46.7 KB)
TEST.docx (119.5 KB)


We have managed to reproduce the same issue at our side and logged it in our issue tracking system as WORDSNET-22925. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

hello,how about the bug fix now?

@steive The issue is already resolved in the current codebase. The fix will be included into the next 22.1 version of Aspose.Words, which is to be released at the very beginning of the next year.

A post was split to a new topic: Word to PDF conversion using .NET, Java, C++ and Python

The issues you have found earlier (filed as WORDSNET-22925) have been fixed in this Aspose.Words for .NET 22.1 update also available on NuGet.