LetterContent 接口

定义

表示由“英文信函向导”创建的信函的元素。Represents the elements of a letter created by the Letter Wizard.

public interface class LetterContent : Microsoft::Office::Interop::Word::_LetterContent
[System.Runtime.InteropServices.Guid("000209A1-0000-0000-C000-000000000046")]
public interface LetterContent : Microsoft.Office.Interop.Word._LetterContent
type LetterContent = interface
    interface _LetterContent
Public Interface LetterContent
Implements _LetterContent
派生
属性
实现

注解

使用 GetLetterContent() 方法或CreateLetterContent方法可返回一个LetterContent对象。Use the GetLetterContent() method or the CreateLetterContent method to return a LetterContent object.

CreateLetterContent 方法创建一个 LetterContent 对象;但是,还有许多必需的参数。The CreateLetterContent method creates a LetterContent object; however, there are numerous required arguments. 如果只想设置少数几个属性,请使用new关键字创建一个新的独立LetterContent对象。If you want to set only a few properties, use the New keyword to create a new, standalone LetterContent object.

您可以使用属性复制LetterContent对象 DuplicateYou can duplicate a LetterContent object by using the Duplicate property.

SetLetterContent(Object) 方法在文档中插入指定的LetterContent对象的内容。The SetLetterContent(Object) method inserts the contents of the specified LetterContent object in a document.

属性

Application

返回一个 Application 对象,表示 Microsoft Word 应用程序。Returns an Application object that represents the Microsoft Word application.

(继承自 _LetterContent)
AttentionLine

返回或设置通过英文信函向导来创建信件信封用语文本。Returns or sets the attention line text for a letter created by the Letter Wizard.

(继承自 _LetterContent)
CCList

返回或设置通过英文信函向导来创建信件的抄送 (CC) 收件人。Returns or sets the carbon copy (CC) recipients for a letter created by the Letter Wizard.

(继承自 _LetterContent)
Closing

返回或设置通过英文信函向导来创建信件结束性文本 (例如,"谨祝您")。Returns or sets the closing text for a letter created by the Letter Wizard (for example, "Sincerely yours").

(继承自 _LetterContent)
Creator

返回一个 32 位整数,它指示在其中创建指定的对象的应用程序。Returns a 32-bit integer that indicates the application in which the specified object was created.

(继承自 _LetterContent)
DateFormat

返回或设置通过英文信函向导来创建的信件的日期。Returns or sets the date for a letter created by the Letter Wizard.

(继承自 _LetterContent)
Duplicate

返回一个只读 LetterContent 对象,该对象代表由 "英文信函向导" 创建的指定信件的内容。Returns a read-only LetterContent object that represents the contents of the specified letter created by the Letter Wizard.

(继承自 _LetterContent)
EnclosureNumber

返回或设置由“英文信函向导”创建的信件的附件编号。Returns or sets the number of enclosures for a letter created by the Letter Wizard.

(继承自 _LetterContent)
IncludeHeaderFooter

如此 如果由信函向导创建的信件中包含页眉和页脚与页面设计模板。True if the header and footer from the page design template are included in a letter created by the Letter Wizard.

(继承自 _LetterContent)
InfoBlock

与 Microsoft Word 的"英文信函向导"相关。Associated with the Letter Wizard in Microsoft Word. 在 Word 的英文版本中没有使用该属性。Not used in the U.S. English version of Word.

(继承自 _LetterContent)
Letterhead

如此 如果对于在由信函向导创建的信件的预打印信头预留空间。True if space is reserved for a preprinted letterhead in a letter created by the Letter Wizard.

(继承自 _LetterContent)
LetterheadLocation

返回或设置通过英文信函向导来创建的信函中的预打印信头的位置。Returns or sets the location of the preprinted letterhead in a letter created by the Letter Wizard.

(继承自 _LetterContent)
LetterheadSize

返回或设置要用于在由信函向导创建的信件的预打印信头预留的间距 (以磅为单位)。Returns or sets the amount of space (in points) to be reserved for a preprinted letterhead in a letter created by the Letter Wizard.

(继承自 _LetterContent)
LetterStyle

返回或设置“英文信函向导”所建信件的版式。Returns or sets the layout of a letter created by the Letter Wizard.

(继承自 _LetterContent)
MailingInstructions

返回或设置用于创建英文信函向导 (例如,"久疏,唯") 的信件问候/复信用语。Returns or sets the mailing instruction text for a letter created by the Letter Wizard (for example, "Certified Mail").

(继承自 _LetterContent)
PageDesign

返回或设置通过英文信函向导来创建文档附加的模板的名称。Returns or sets the name of the template attached to the document created by the Letter Wizard.

(继承自 _LetterContent)
Parent

返回一个对象,代表指定对象的父对象。Returns an object that represents the parent object of the specified object.

(继承自 _LetterContent)
RecipientAddress

返回或设置将接收由信函向导创建信函的用户的邮件地址。Returns or sets the mailing address of the person who'll be receiving the letter created by the Letter Wizard.

(继承自 _LetterContent)
RecipientCode

返回或设置收件人的代码。Returns or sets the recipient code. 在 Microsoft Word 美国英语版中不使用该属性。Not used in the U.S. English version of Microsoft Word.

(继承自 _LetterContent)
RecipientGender

返回或设置收件人的性别,如果已知。Returns or sets the recipient's gender, if known. 并不是美国英语版本的 Microsoft Word 中。Not used in the U.S. English version of Microsoft Word.

(继承自 _LetterContent)
RecipientName

返回或设置由“英文信函向导”创建的信件的收件人的姓名。Returns or sets the name of the person who'll be receiving the letter created by the Letter Wizard.

(继承自 _LetterContent)
RecipientReference

返回或设置由 "英文信函向导" 创建的信函的参考线(例如,"发件人为:")。Returns or sets the reference line (for example, "In reply to:") for a letter created by the Letter Wizard.

(继承自 _LetterContent)
ReturnAddress

返回或设置用信函向导创建的信件的寄信人地址。Returns or sets the return address for a letter created with the Letter Wizard.

(继承自 _LetterContent)
ReturnAddressShortForm

返回或设置缩写地址。Returns or sets the short form address. 在 Microsoft Word 美国英语版中不使用该属性。Not used in the U.S. English version of Microsoft Word.

(继承自 _LetterContent)
Salutation

返回或设置通过英文信函向导来创建的信函的问候文本。Returns or sets the salutation text for a letter created by the Letter Wizard.

(继承自 _LetterContent)
SalutationType

返回或设置由“英文信函向导”创建的信件的称呼类型。Returns or sets the type of salutation for a letter created by the Letter Wizard.

(继承自 _LetterContent)
SenderCity

返回或设置发件人的城市。Returns or sets the sender's city. 在 Microsoft Word 美国英语版中不使用该属性。Not used in the U.S. English version of Microsoft Word.

(继承自 _LetterContent)
SenderCode

返回或设置发件人代码。Returns or sets the sender code. 在 Microsoft Word 美国英语版中不使用该属性。Not used in the U.S. English version of Microsoft Word.

(继承自 _LetterContent)
SenderCompany

返回或设置通过信函向导创建信函的用户的公司名称。Returns or sets the company name of the person creating a letter with the Letter Wizard.

(继承自 _LetterContent)
SenderGender

返回或设置用于称呼语的性别。Returns or sets the gender used with the salutation. 在 Microsoft Word 美国英语版中不使用该属性。Not used in the U.S. English version of Microsoft Word.

(继承自 _LetterContent)
SenderInitials

返回或设置通过信函向导创建信函的用户的姓名缩写。Returns or sets the initials of the person creating a letter with the Letter Wizard.

(继承自 _LetterContent)
SenderJobTitle

返回或设置通过信函向导创建信函的用户的职务。Returns or sets the job title of the person creating a letter with the Letter Wizard.

(继承自 _LetterContent)
SenderName

返回或设置通过信函向导创建信函的用户的名称。Returns or sets the name of the person creating a letter with the Letter Wizard.

(继承自 _LetterContent)
SenderReference

在 Microsoft Word 美国英语版中不使用该属性。Not used in the U.S. English version of Microsoft Word.

(继承自 _LetterContent)
Subject

返回或设置通过英文信函向导来创建的信函的主题文本。Returns or sets the subject text of a letter created by the Letter Wizard.

(继承自 _LetterContent)

适用于