Wiki Markup |
---|
{description} {excerpt}The [Hyperlinks|Hyperlinks] collection contains all hyperlinks in a worksheet. The [Worksheet.Hyperlinks|Worksheet.Hyperlinks] property returns a {{Hyperlinks}} collection.{excerpt} {signature:C#} [DefaultMember("Item")] public sealed class Hyperlinks : System.Collections.Generic.IEnumerable<Hyperlink> {signature}{signature:vb.net} <DefaultMember("Item")> _ Public NotInheritable Class Hyperlinks Implements System.Collections.Generic.IEnumerable(Of Hyperlink) {signature} {example}{code:csharp|title=C#} ExcelApplication xla = new ExcelApplication(); Workbook wb = xla.Open(@"C:\MySpreadsheet.xls"); Worksheet ws = wb.Worksheets[0]; Hyperlinks links = ws.Hyperlinks; {code} {code:vbnet|title=vb.net} Dim xla As New ExcelApplication() Dim wb As Workbook = xla.Open("C:\MySpreadsheet.xls") Dim ws As Worksheet = wb.Worksheets(0) Dim links As Hyperlinks = ws.Hyperlinks {code} {example} {properties} ||Name||Description|| |[Count|Hyperlinks.Count]|{excerpt-include:Hyperlinks.Count|nopanel=true}| {indexers} ||Name||Description|| |[Item(Int32)|Hyperlinks.Item(Int32)]|{excerpt-include:Hyperlinks.Item(Int32)|nopanel=true}| {methods} ||Name||Description|| |[CreateHyperlink(Area, String)|Hyperlinks.CreateHyperlink(Area, String)]|{excerpt-include:Hyperlinks.CreateHyperlink(Area, String)|nopanel=true}| |[CreateHyperlink(Area, String, String)|Hyperlinks.CreateHyperlink(Area, String, String)]|{excerpt-include:Hyperlinks.CreateHyperlink(Area, String, String)|nopanel=true}| |[GetEnumerator()|Hyperlinks.GetEnumerator()]|{excerpt-include:Hyperlinks.GetEnumerator()|nopanel=true}| |
Page History
Overview
Content Tools