Modifica

Condividi tramite


SmartTagAction Interface

Definition

Represents the actions that can be performed with smart tags.

public interface class SmartTagAction
[System.Runtime.InteropServices.Guid("0002445E-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface SmartTagAction
Public Interface SmartTagAction
Attributes

Remarks

Use the Item[Object] property of the SmartTagActions collection to return a SmartTagAction object.

Once a SmartTagAction object has been returned, you can activate a smart tag to automatically annotate data using the Execute() method.

Properties

_Default

Reserved for internal use.

ActiveXControl

Returns an Object that represents an ActiveX control displayed in the Document Actions task pane.

Application

Returns an Application object that represents the Microsoft Excel application.

CheckboxState

Returns or sets a Boolean value that indicates whether a check box in a smart document is selected.

Creator

Returns a 32-bit integer that indicates the application in which this object was created.

ExpandHelp

Sets or returns a Boolean value that represents whether the specified smart document Help text control is expanded or collapsed in the Document Actions task pane. True indicates that the control is expanded. False indicates that the control is collapsed.

ListSelection

Sets or returns an Integer value that represents the index number of the selected item in a smart document list box control.

Name

Returns the name of the object.

Parent

Returns the parent object for the specified object.

PresentInPane

Returns a Boolean value that represents whether a smart document control is currently displayed in the Document Actions task pane.

RadioGroupSelection

Sets or returns an Integer that represents the index number of the selected item in a group of radio button controls in a smart document.

TextboxText

Sets or returns a String that represents the text in a smart document textbox control.

Type

Returns an XlSmartTagControlType that represents the type of Smart Document control displayed in the Document Actions task pane.

Methods

Execute()

Activates a smart tag action that is associated with the smart tag type on a cell.

Applies to