NativeExcel for .Net Developer's Reference

IHyperlink.ScreenTip Property

Returns or sets the ScreenTip text for the specified hyperlink.

[Visual Basic]
Property ScreenTip As String
[C#]
string ScreenTip { get; set; }
[C++]
__property String* get_ScreenTip();
__property void set_ScreenTip(String* );
[JScript]
function get ScreenTip() : String
function set ScreenTip(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";
[Visual Basic]
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