Free Support Forum - groupdocs.com

GroupDocs.Assembly for Java

关于 Inserting Hyperlinks Dynamically的功能,没有很明白 returns the name of a bookmark in the same document。

  • Values of both uri_or_bookmark_expression and display_text_expression can be of any types. During runtime, Object.ToString() is invoked to get textual representations of these expressions’ values, which is useful for expressions of types like Uri, for example. While building a report, uri_or_bookmark_expression and display_text_expression are evaluated and their results are used to construct a hyperlink that replaces the corresponding link tag then. If uri_or_bookmark_expression returns the name of a bookmark in the same document, then the hyperlink navigates to the bookmark. Otherwise, the hyperlink navigates to a corresponding external resource.
  • A link tag cannot be used within a chart.
    请问可以提供相关的示例吗?
1 Like

@jiao,

请阅读这篇文档文章。本文中还提供了示例模板。我们还有一个开源的GitHub示例项目,您可以探索。
我们建议您探索这些资源,并让我们知道它们是否有帮助。