_Document.SetLetterContent(Object) 方法

定义

将指定对象的内容插入 LetterContent 到文档中。Inserts the contents of the specified LetterContent object into a document.

public:
 void SetLetterContent(System::Object ^ % LetterContent);
public void SetLetterContent (ref object LetterContent);
abstract member SetLetterContent : obj -> unit
Public Sub SetLetterContent (ByRef LetterContent As Object)

参数

LetterContent
Object

必需 LetterContent 的对象。Required LetterContent object. 包含字母的各种元素的LetterContent对象。The LetterContent object that includes the various elements of the letter.

注解

此方法与方法类似, RunLetterWizard(Object, Object) 不同之处在于它不显示 "英文信函向导" 对话框。This method is similar to the RunLetterWizard(Object, Object) method except that it doesn't display the Letter Wizard dialog box. 该方法将添加、 删除或 restyles 在 LetterContent 对象的内容基于指定文档中的信函元素。The method adds, deletes, or restyles letter elements in the specified document based on the contents of the LetterContent object.

适用于