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

Free Support Forum - aspose.com

Image is moved to next page when generating pdf document

Hi

I have a problem with converting a .docx document to .pdf using Aspose.Words.

Here is the code i use (.Net):

var document = new Document(inputFileDir + inputFileName);
using (var fs = File.OpenWrite(outputFileDir + outputFileName))
{
document.Save(fs, SaveFormat.Pdf);
}

The output pdf puts the image on next page ("document.pdf").
If you look at "documentPDFGeneratedUsingSaveAsInWord.pdf" you can see how the pdf looks like if you use "save as" in word and store it as a pdf.

So the problem is that the image moves from page 1 to page 2.

I use version 16.6 of Aspose.Words.

Regards

(Our bug id: #11565)

Hi Lars,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-14159. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-14159) have been fixed in this Aspose.Words for .NET 17.4 update and this Aspose.Words for Java 17.4 update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.