This documentation is archived and is not being maintained.

SmartTagOptions.DisplaySmartTags Property 

Returns or sets an XlSmartTagDisplayMode constant indicating the display features for smart tags.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in

Dim smartTagOptions1 As SmartTagOptions

Dim returnValue As XlSmartTagDisplayMode
returnValue = smartTagOptions1.DisplaySmartTags

Dim sampleValue As XlSmartTagDisplayMode
smartTagOptions1.DisplaySmartTags = sampleValue

XlSmartTagDisplayMode DisplaySmartTags {get; set;}
public XlSmartTagDisplayMode get_DisplaySmartTags();
public void set_DisplaySmartTags(XlSmartTagDisplayMode);
function get DisplaySmartTags() : XlSmartTagDisplayMode;
function set DisplaySmartTags(XlSmartTagDisplayMode);

XlSmartTagDisplayMode can be one of the following constants:

xlButtonOnly Displays only the button for smart tags.

xlDisplayNone Nothing is displayed for smart tags.

xlIndicatorAndButton Display the indicator and button for smart tags.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms