SmartTagRecognizeContext Interface

 

Provides the context of a call to a custom smart tag recognizer.

Namespace:   Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

[GuidAttribute("88E3C033-24AE-474A-878B-BE837DCABBF3")]
public interface class SmartTagRecognizeContext

NameDescription
System_CAPS_pubpropertyParagraphText

Gets the text from the paragraph that is sent to the Recognize method.

This type or member is intended to be used only in projects for the 2007 Microsoft Office system. Smart tags are deprecated in Office 2010.

.

NameDescription
System_CAPS_pubmethodPersistTag(Int32, Int32, ISmartTagProperties^)

Stores information about the smart tag.

This type or member is intended to be used only in projects for the 2007 Microsoft Office system. Smart tags are deprecated in Office 2010.

.

When you implement the Recognize method to define a custom smart tag recognizer, the context parameter is a SmartTagRecognizeContext object. Use the ParagraphText property of this object to get the text from the paragraph that is sent to the recognizer, and use the PersistTag method of this object to indicate that a smart tag was found.

This type is intended to be used only in projects for Word 2007. Smart tags are deprecated in Word 2010.

Return to top
Show: