Image alignment in strings has changed between Aspose.Words.dll version 6.4.0.0 and 9.0.0.0. Images used to be aligned middle and now they are always much lower than the text. This issue has been resolved at some point and possibly reintroduced. It is a big issue for us since most of our strings contain images. It would be impossible for us to modify our html for a workaround, since it is dynamically generate and would require a huge effort. It looks like neither Words and Pdf dlls take into account this alignment. Here is an example of html where alignment middle, top, bottom, right and left for images does not work:
Thank you for the quick response. What about the difference in output between the two version of the dll for the html below without the align attribute. Attached are two pdf files that were generated from the word file. Please compare the “xxxx -> xxxx” string under “Menu Path” between two files and let me know if/when thic can be addressed.
Thank you for additional information. Could you also save your output document in DOC or DOCX format and attach it here for testing? In addition, have you tried using direct method of PDF conversion?
I have just checked the word output and the images looked correct. I am sorry, but I have opened an issue against a wrong product family. Should have been Aspose.Pdf. This is happening on pdf.Save() call. Is there an easy way of transferring this thread to the proper person without opening a new thread.
Thanks for your request. May I ask you, why you don’t use direct method of PDF conversion? Have you tried using direct method? If you would like I can move this thread to Aspose.Pdf forum, but first I should make sure that the problem is in Aspose.Pdf. So could you please attach your Word document here for testing?
Attached please find the Word document that we were are converting to PDF. The reason for the way we are converting to PDF is because of previous suggestions from Aspose in order to resolve other issues. We are getting really close to the release date and converting to the direct method would require many more hours of testing.
Thank you for additional information. The problem does not occur with the direct method of PDF conversion. So, I think, you should use this method.
Another reason of using the direct method is the fact that we are stopped developing the legacy method. So no new issues will be addressed in this method of PDF conversion on Aspose.Words side.