ShapeRange.AlternativeText Property
Returns or sets the descriptive (alternative) text string for a ShapeRange object when the object is saved to a Web page. Read/write String.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property AlternativeText As String
Get
Set
'Usage
Dim instance As ShapeRange
Dim value As String
value = instance.AlternativeText
instance.AlternativeText = value
string AlternativeText { get; set; }
Property Value
Type: System.String
Remarks
The alternative text can be displayed either in place of the shape’s image in the Web browser or directly over the image when the mouse pointer hovers over the image (in browsers that support these features).