Free Support Forum - aspose.com

Alignment of Image/Shape in Word Doc went wrong after converted to PDF

Hi,

I’m having this problem where i tried to convert a word document fil (test.docx) into a pdf file (test.docx.pdf)

And the alignment of certain object is not correct.
This is a bug or is there additional any configuration that i need to add before converting??

Please assist thanks

Below is the code:
License lic = new License();
lic.SetLicense(“C:\COL.ITE.EPS\Aspose.Words.lic”);
Document doc = new Document(“test.docx”);
doc.Save(“test.docx.pdf”,SaveFormat.Pdf);

Hello

Thanks for your request. It seems you are using an old version of Aspose.Words. The latest version of Aspose.Words is 10.4.0; you can download this version from here:

http://www.aspose.com/community/files/51/.net-components/aspose.words-for-.net/category1188.aspx

The output PDF looks much better in case of using Aspose.Words 10.4.0.

Could you please try using the latest version of Aspose.Words and let me know how it goes on your side.

Your document contains lot of frames, and you should note that text frames are obsolete and are not used very often.

Best regards,

Hi Andrey,

Thanks. i will try to the latest version and see if it works out

Hi Andrey,


I tested using 10.4 version.some of the text frame are aligned properly but some are not.
Thanks for the help though =)

Hello

Thank you for additional information. The problem occurs because Through and Tight wrapping styles are not supported during rendering yet. I linked your request to the appropriate issues, you will be notified as soon as these features are supported. The four wrapping types now supported cover the majority of user scenarios. Although Tight and Through are used rarely, we are very likely to support them in one of the further versions.

Please see the following link for more information:

https://blog.aspose.com/2011/01/10/text-wrapping-around-images-and-shapes-is-about-to-be-released-in-aspose-words-for-net

Also we decided we are not going to implement the Tight and Through text wrapping options right now. We are postponing these features until we catch up on some other planned features. We will get back to decide on Tight and Through later in 2011.

Best regards,

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


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