Save docx document to pdf looses header image

I'm trying to convert a 'docx' file with an image at the header to 'pdf' and the result of the conversion is a pdf file with no image.

I'm using then next code.

Dim DocAspose As Aspose.Words.Document = New Aspose.Words.Document("C:\Doc.docx")
Dim oPdfSaveOptions As Aspose.Words.Saving.PdfSaveOptions
oPdfSaveOptions = New Aspose.Words.Saving.PdfSaveOptions
oPdfSaveOptions.SaveFormat = Aspose.Words.SaveFormat.Pdf
DocAspose.Save("C:\Doc.pdf", oPdfSaveOptions)

There are any solution to my problem?

Thanks.

Hi Francesc,

Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 14.1.0, I managed to reproduce this issue on my side. I have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-9718. Your thread has been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

The issues you have found earlier (filed as WORDSNET-9718) have been fixed in this .NET update and this Java update.


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