共用方式為


DocumentBase.EmbedSmartTags Property

Gets or sets a value that indicates whether Microsoft Office Word saves the smart tag information in a document. 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. .

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

Syntax

'Declaration
Public Property EmbedSmartTags As Boolean
public bool EmbedSmartTags { get; set; }

Property Value

Type: System.Boolean
true if Microsoft Office Word saves the smart tag information in a document; otherwise, false.

Remarks

Use this property when sending documents to users who may not have the smart tag recognizer file on their computer. This allows the recipient to still have access to the smart tag information (and to the related actions if they have the smart tag actions file on their computer). However, if a document containing smart tags is edited by a user with an earlier version of Word, the smart tag information is removed.

.NET Framework Security

See Also

Reference

DocumentBase Class

Microsoft.Office.Tools.Word Namespace