Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用DOM方法使用Aspose.Words for .NET创建 Word 文档。如何使图像超链接?
谢谢,维杰
您可以使用 Shape.Href 属性来设置 URL。
Aspose.Words.Drawing.Shape shape = createOrFindShape(); if (shape.HasImage) { // Set hyperlink using Shape.Href shape.HRef = "http://www.google.com"; }
我与 Aspose 一起担任开发人员宣传员。