Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

_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)

Dim LetterContent As Object
Dim _Document1 As _Document

Sub SetLetterContent( _
	<InAttribute()> ByRef LetterContent As Object _
public void SetLetterContent(
	/*in*/System.Object LetterContent
function SetLetterContent(
	 LetterContent : 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.

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

Development Platforms

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

Target Platforms