Skip to end of metadata
Go to start of metadata
Contents Summary
  

This feature is supported by version 18.7. or greater

The code uses some of the objects defined in The Business Layer.

Inserting Hyperlinks Dynamically

Using GroupDocs.Assembly, you can insert hyperlinks to your reports dynamically using link tags. The syntax of a link tag is defined as follows:

 

<<link [uri_expression][display_text_expression]>>

 

Here, uri_expression defines URI for a hyperlink to be inserted dynamically. This expression is mandatory and must return a non-empty value. In turn, display_text_expression defines text to be displayed for the hyperlink. This expression is optional. If it is omitted or returns an empty value, then during runtime, a value of uri_expression is used as display text as well. Values of both uri_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_expression and display_text_expression are evaluated and their results are used to construct a hyperlink that replaces the corresponding link tag then.

Inserting Hyperlinks Dynamically in Word Processing Document 

The Code

 

Download

Inserting Hyperlinks Dynamically in Presentation Document 

The Code

 

Download

Inserting Hyperlinks Dynamically in Spreadsheet Document 

The Code

 

Download

Inserting Hyperlinks Dynamically in Email Document 

The Code

 

Download

Labels
  • No labels