We have a document that has a few images in a table (two rows, two columns)
In the bottom right column of the table, there is an image with the text wrapping “square” and another image to its right with the text wrapping “in line with text”.
MS Word’s drawing tools (rectangle, circle and line) have been used to highlight portions of both these images with the formatting “in front of text”.
There is another table below (2 rows, 1 column) that has an image with the text wrapping “in line with text” in the second row. MS Word’s drawing tools(rectangle, circle and line) have been used here as well to highlight part of this image with the formatting “in front of text”.
doc.Save(“file.pdf”) is used to convert this document to a pdf, but the pdf is generated incorrectly.
The rectangles, lines and circles are displaced to the left of their original position in the first table.
The image and shapes are correct in the second table.
I later changed the wrapping of the second image in the first table from “in line with text” to “top and bottom” and tried again. This time there was no displacement.
I kindly request you to investigate the cause of this issue and resolve it.
Thank you and Merry Christmas!
P.S. We are using the latest, licensed version of Aspose Words for .NET