Word转PDF目录没有对齐

你好,在Aspose.Words(24.1.0)中将word文件转为pdf时,Pdf文件目录的没有能够对齐显示
word文件效果:

pdf文件效果:


代码:

var fileName = "catalogue.docx";
var inFilePath = Path.Combine(baseDirectory, "../../../../AsposeWord/source", fileName);
var document = new Document(inFilePath);
var outFilePath = Path.Combine(baseDirectory, Path.GetFileNameWithoutExtension(fileName) +"_" + DateTime.UtcNow.ToString("yyyyMMddHHmmss") + ".pdf");
document.Save(outFilePath);

转为PDF后的效果不能与word预览时保存一致,是什么原因呢?

word源文件:
catalogue.docx (28.3 KB)

@cqhg90258
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-26448

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

1 Like

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

1 Like