We are trying to convert a Word document to a PDF. Some of the images inside of the document are landscape. Inside of the word doc, they are rotated 270 degrees to be in portrait orientation. After converting, the don't render correctly on the page. They are off center. If I manually save the image, rotate, and reinsert into the document, everything looks correct. Unfortunately, doing this isn't a long term option, as the documents are provided to us by a 3rd party.
We suspect that the reported issue might be specific to the input Word document. So, could you please provide us the input Word document along with the complete code snippets which used at your end by modifying the above sample to reproduce the exact problem. Thereby we will analyze further and provide you the appropriate solution at the earliest.
Note: If you have any confidential data in your Word document, please replace with some dummy data and provide us the same. We just need your document to recreate the problem you face in your end.
RSRick StephensDecember 11, 2019 09:18 AM
Thank you for your reply. Please see the attached document to reproduce the issue.
It looks like it's the text wrapping settings that causes the rendering issues. Anything but "In Line with Text" has undesirable results. Square results in my original issue where "Tight" results in the image in it's original orientation. It looks like there are lots of bugs around orientations still.
VAVijayasurya Anandhan Syncfusion Team December 12, 2019 03:55 AM
Thank you for your details. We can reproduce the issue with "Picture with rotation and text wrapping is not preserved properly in the generated PDF” from our side and suspect it be a defect. We will validate this issue and update you with more details on 16th December 2019.
Please let us know if you have any queries.
Regards, Vijayasurya A
MKMadhan Kumarasamy Syncfusion Team December 16, 2019 12:11 PM
Thank you for your patience.
We confirmed the issue “Picture with rotation is not aligned properly while converting a Word document to PDF” as a defect. We have logged a defect report. This fix will be included in our 2019 Volume 4 sp1 which will be available in mid of January 2020 tentatively.
Note: If you want patch for defect then kindly let us know the currently installed version, so that we can provide a patch in that version based on our SLA policy.
Please let us know if you need any further assistances in this.