Partilhar via


Document.SetLetterContent Method

Inserts the contents of the specified LetterContent into the document.

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

Syntax

'Declaration
Sub SetLetterContent ( _
    ByRef LetterContent As Object _
)
void SetLetterContent(
    ref Object LetterContent
)

Parameters

Remarks

This method is similar to the RunLetterWizard method except that it does not display the Letter Wizard dialog box. The method adds, deletes, or restyles letter elements in the document based on the contents of the LetterContent object.

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace