Word转pdf,在浏览器查看pdf会自带个标题,我想设置这个标题内容

0f2fc8bb00cc86972d8598989fc3227.png (73.2 KB)

@bbf,

在 Aspose.Words for .NET 中,您可以使用 Title 属性来实现这一点

Document doc = new Document("in.docx");
doc.BuiltInDocumentProperties.Title = "This is my title";
doc.Save("out.pdf");

在 Aspose.Words for Java 中,请使用 Title 属性。