Condividi tramite


Proprietà WorkbookBase.SmartTagOptions

Ottiene un oggetto Microsoft.Office.Interop.Excel.SmartTagOptions che rappresenta le opzioni che possono essere eseguite con uno smart tag.

Spazio dei nomi:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property SmartTagOptions As SmartTagOptions
    Get
public SmartTagOptions SmartTagOptions { get; }

Valore proprietà

Tipo: Microsoft.Office.Interop.Excel.SmartTagOptions
Oggetto Microsoft.Office.Interop.Excel.SmartTagOptions che rappresenta le opzioni che possono essere eseguite con uno smart tag.

Esempi

Nell'esempio di codice riportato di seguito viene utilizzata la proprietà SmartTagOptions per incorporare smart tag nella cartella di lavoro corrente e visualizzare i relativi indicatori e pulsanti.

Questo esempio è valido per una personalizzazione a livello di documento.

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;
}

Sicurezza di .NET Framework

Vedere anche

Riferimenti

WorkbookBase Classe

Spazio dei nomi Microsoft.Office.Tools.Excel