Incorrect table width after conversion Docx->Pdf/HtmlFixed (44.5 KB)
Hello, Aspose team.
We’ve found this behavior while conversion into Pdf and HtmlFixed.
The table width set to “prefered 35%”. WORD stretches the width of the table to content (about 55%). But the table in the converted Pdf isn’t stretched.
used code:

    var fileData = File.ReadAllBytes("TableWidthBug.docx");
    using (var stream = new MemoryStream(fileData))
        var document = new Document(stream, loadOptions);
        using (var resultStream = File.Create("c:\\temp\\TableWidthBug.pdf"))
    	    //var saveOptions = new HtmlFixedSaveOptions();
            //saveOptions.ResourcesFolder = "c:\\temp\\Images";
            var saveOptions = new PdfSaveOptions();
    	    document.Save(resultStream, saveOptions);


Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-16375. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

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