Expand Minimize
This topic has not yet been rated - Rate this topic

_Document.SetLetterContent method

Inserts the contents of the specified LetterContent object into a document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
void SetLetterContent(
	ref Object LetterContent


Type: System.Object

Required [LetterContent] object. The LetterContent object that includes the various elements of the letter.

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

Community Additions

© 2014 Microsoft. All rights reserved.