Files to which links are set in the Hyperlink property are opened with the help of programs associated with the file type.

Sample of setting links to files:

Hyperlink property is set by the script that forms file address in the process of report generation.

Report Template:

dataBand.DataSource = Employees;

textBox.Value = dataBand["EmployeeName"]; textBox.Hyperlink = "C:\\Data\\Pictures\\"+dataBand["EmployeeName"].ToString()+".png"

Report:

When you click on the TextBox element area the corresponding picture is opened with the help of picture viewer:

Add Feedback