_Document.SetLetterContent(Object) Method

Definition

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

C#
public void SetLetterContent (ref object LetterContent);

Parameters

LetterContent
Object

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

Remarks

This method is similar to the RunLetterWizard(Object, Object) 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.

Applies to

Product Versions
Word primary interop assembly Latest