AlternativeText property

Shape.AlternativeText property

Returns or sets the descriptive (alternative) text string for a Shape 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)

string AlternativeText { get; set; }

Property value

Type: System.String

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).

Show:
© 2016 Microsoft