NativeExcel for .Net Developer's Reference

IHyperlink.ScreenTip Property

Returns or sets the ScreenTip text for the specified hyperlink.

[Visual Basic]
PropertyScreenTipAsString
[C#]
stringScreenTip{get;set;}
[C++]
__propertyString*get_ScreenTip();
__propertyvoidset_ScreenTip(String*);
[JScript]
functiongetScreenTip():String
functionsetScreenTip(String);

Example

This example sets the screen tip for the first hyperlink on worksheet one.

[C#]
book.Worksheets[1].Hyperlinks[1].ScreenTip = "Return to the home page";
[VisualBasic]
book.Worksheets(1).Hyperlinks(1).ScreenTip = "Return to the home page"
[C++]
book->Worksheets->Item[1]->Hyperlinks->Item[1]->ScreenTip = S"Return to the home page";

See Also

IHyperlink Interface | NativeExcel Namespace | IWorksheet.Hyperlinks Property | IRange.Hyperlinks Property | IHyperlinks Interface