Compartilhar via


SmartTags.Add Method

Word Developer Reference

Returns a SmartTag object that represents a new smart tag added to a document.

Syntax

expression.Add(Name, Range, Properties)

expression   Required. A variable that represents a SmartTags collection.

Parameters

Name Required/Optional Data Type Description
Name Required String The name of the smart tag.
Range Optional Variant The range to which to apply the smart tag.
Properties Optional Variant Properties that apply to the smart tag.

Return Value
SmartTag

See Also