_Document.EmbedSmartTags Property 

Determines if Microsoft Word saves the smart tag information in a document.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim _Document1 As _Document

Dim returnValue As Boolean
returnValue = _Document1.EmbedSmartTags

Dim sampleValue As Boolean
_Document1.EmbedSmartTags = sampleValue

Syntax

Property EmbedSmartTags() As Boolean
bool EmbedSmartTags {get; set;}
property Boolean EmbedSmartTags{
    Boolean get();
    Void set(Boolean);
}
public boolean get_EmbedSmartTags();
public void set_EmbedSmartTags(boolean);
function get EmbedSmartTags() : Boolean;
function set EmbedSmartTags(Boolean);

Remarks

This property returns True if Microsoft Word saves the smart tag information in a document.

Use the EmbedSmartTags 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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

_Document Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

_Document Members