Workbook.SmartTagOptions Property (2007 System)

Gets a SmartTagOptions object representing the options that can be performed with a smart tag.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property SmartTagOptions As SmartTagOptions
'Usage
Dim instance As Workbook 
Dim value As SmartTagOptions 

value = instance.SmartTagOptions
[BrowsableAttribute(false)]
public SmartTagOptions SmartTagOptions { get; }
[BrowsableAttribute(false)]
public:
property SmartTagOptions^ SmartTagOptions {
    SmartTagOptions^ get ();
}
public function get SmartTagOptions () : SmartTagOptions

Property Value

Type: SmartTagOptions
A SmartTagOptions object representing the options that can be performed with a smart tag.

Examples

The following code example uses the SmartTagOptions property to embed smart tags into the current workbook and display the indicator and button for smart tags.

This example is for a document-level customization.

Private Sub WorkbookSmartTagOptions()
    Me.SmartTagOptions.DisplaySmartTags = _
        Excel.XlSmartTagDisplayMode.xlIndicatorAndButton
    Me.SmartTagOptions.EmbedSmartTags = True 
End Sub
private void WorkbookSmartTagOptions()
{
    this.SmartTagOptions.DisplaySmartTags =
        Excel.XlSmartTagDisplayMode.xlIndicatorAndButton;
    this.SmartTagOptions.EmbedSmartTags = true;
}

.NET Framework Security

See Also

Reference

Workbook Class

Workbook Members

Microsoft.Office.Tools.Excel Namespace