Adds a hyperlink to the specified range.
Name | Type | Description |
sRange | string | The range where the hyperlink will be added to. |
sAddress | string | The link address. |
subAddress | string | The link subaddress to insert internal sheet hyperlinks. |
sScreenTip | string | The screen tip text. |
sTextToDisplay | string | The link text that will be displayed on the sheet. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); oWorksheet.SetHyperlink("A1", "https://api.onlyoffice.com/docbuilder/basic", "Api ONLYOFFICE", "ONLYOFFICE for developers"); builder.SaveFile("xlsx", "SetHyperlink.xlsx"); builder.CloseFile();