When adding a shape in a Word document that is surrounded by 2 columns formatted text (with text wrapping set to Through), when converting to PDF, the text wrapping is incorrectly set to Square.
Sample code:
using (FileStream fs = File.OpenRead(Server.MapPath("/File") + "\\inputFile.docx"))
{
var wordDoc = new Document(fs);
var pdfSaveOptions = new PdfSaveOptions();
wordDoc.Save(Server.MapPath("/File") + "\\output.pdf", pdfSaveOptions);
}
Expected: Text wrapping remains with the value “Through”
Actual: Text wrapping is set to “Squared”.
I have attached the Web App that reproduces this issue.
WebApp.zip (31.7 KB)