[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IShape.Hyperlink

Hyperlink Property

Returns a IHyperlink object that represents the hyperlink for the shape.

Use this property to access the hyperlink attached to the shape and inspect or update properties such as its address, subaddress, screen tip, or display text.

Declaration
IHyperlink Hyperlink { get; }
ReadOnly Property Hyperlink As IHyperlink
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Oval, 1, 1, 200, 100);
shape.TextFrame.TextRange.Paragraphs.Add("Open Mescius");
worksheet.Hyperlinks.Add(shape, "https://developer.mescius.com/", null, "Click to Open", "MESCIUS");
IHyperlink hyperlink = shape.Hyperlink;
string address = hyperlink.Address;