ISmartTagRecognizerSite Interface [Office 2003 SDK Documentation]
The ISmartTagRecognizerSite interface exposes a smart tag-supporting object that indicates the location of content in the workbook, document, or presentation that the smart tag is on. This interface, which a recognizer must interact with, contains two methods.
Member Summary
Methods
Name | Description |
CommitSmartTag | Tells the ISmartTagRecognizerSite to add a new smart tag based on the passed-in text. |
GetNewPropertyBag | Returns a new ISmartTagProperties object. |
Remarks
These items can only be called while an ISmartTagRecognizerSite is within the range of the Recognize method. The following interface description language defines the ISmartTagRecognizerSite interface.
interface ISmartTagRecognizerSite : IDispatch
{
[id(1)]
HRESULT GetNewPropertyBag([out, retval] ISmartTagProperties **Properties);
[id(2)]
HRESULT CommitSmartTag( [in] BSTR SmartTagName,
[in] int Start,
[in] int Length,
[in] ISmartTagProperties *Properties);
}