We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Text wrapping setting not retained when converting to PDF if the text is formatted into 2 columns

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)

@edis.omer Thank you for reporting this problem to us. I have logged it as WORDSNET-23339. We will keep you informed and let you know once it is resolved.

The issues you have found earlier (filed as WORDSNET-23339) have been fixed in this Aspose.Words for .NET 22.2 update also available on NuGet.