Document.SetLetterContent Method (Object)

 

Inserts the contents of the specified LetterContent into the document.

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

void SetLetterContent(
	ref object LetterContent
)

Parameters

LetterContent
Type: System.Object

The LetterContent that includes the various elements of the letter.

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.

Return to top
Show: