Edytuj

Udostępnij za pośrednictwem


_LetterContent Interface

Definition

This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this interface to call the method, and cast to the latest events interface to connect to the event. Otherwise, use the .NET interface that is derived from the COM coclass to access methods, properties, and events of the COM object. For more information about the COM obect, see LetterContent.

public interface class _LetterContent
[System.Runtime.InteropServices.Guid("000209A1-0000-0000-C000-000000000046")]
public interface _LetterContent
type _LetterContent = interface
Public Interface _LetterContent
Derived
Attributes

Properties

Application

Returns an Application object that represents the Microsoft Word application.

AttentionLine

Returns or sets the attention line text for a letter created by the Letter Wizard.

CCList

Returns or sets the carbon copy (CC) recipients for a letter created by the Letter Wizard.

Closing

Returns or sets the closing text for a letter created by the Letter Wizard (for example, "Sincerely yours").

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

DateFormat

Returns or sets the date for a letter created by the Letter Wizard.

Duplicate

Returns a read-only LetterContent object that represents the contents of the specified letter created by the Letter Wizard.

EnclosureNumber

Returns or sets the number of enclosures for a letter created by the Letter Wizard.

IncludeHeaderFooter

True if the header and footer from the page design template are included in a letter created by the Letter Wizard.

InfoBlock

Associated with the Letter Wizard in Microsoft Word. Not used in the U.S. English version of Word.

Letterhead

True if space is reserved for a preprinted letterhead in a letter created by the Letter Wizard.

LetterheadLocation

Returns or sets the location of the preprinted letterhead in a letter created by the Letter Wizard.

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.

LetterStyle

Returns or sets the layout of a letter created by the Letter Wizard.

MailingInstructions

Returns or sets the mailing instruction text for a letter created by the Letter Wizard (for example, "Certified Mail").

PageDesign

Returns or sets the name of the template attached to the document created by the Letter Wizard.

Parent

Returns an object that represents the parent object of the specified object.

RecipientAddress

Returns or sets the mailing address of the person who'll be receiving the letter created by the Letter Wizard.

RecipientCode

Returns or sets the recipient code. Not used in the U.S. English version of Microsoft Word.

RecipientGender

Returns or sets the recipient's gender, if known. Not used in the U.S. English version of Microsoft Word.

RecipientName

Returns or sets the name of the person who'll be receiving the letter created by the Letter Wizard.

RecipientReference

Returns or sets the reference line (for example, "In reply to:") for a letter created by the Letter Wizard.

ReturnAddress

Returns or sets the return address for a letter created with the Letter Wizard.

ReturnAddressShortForm

Returns or sets the short form address. Not used in the U.S. English version of Microsoft Word.

Salutation

Returns or sets the salutation text for a letter created by the Letter Wizard.

SalutationType

Returns or sets the type of salutation for a letter created by the Letter Wizard.

SenderCity

Returns or sets the sender's city. Not used in the U.S. English version of Microsoft Word.

SenderCode

Returns or sets the sender code. Not used in the U.S. English version of Microsoft Word.

SenderCompany

Returns or sets the company name of the person creating a letter with the Letter Wizard.

SenderGender

Returns or sets the gender used with the salutation. Not used in the U.S. English version of Microsoft Word.

SenderInitials

Returns or sets the initials of the person creating a letter with the Letter Wizard.

SenderJobTitle

Returns or sets the job title of the person creating a letter with the Letter Wizard.

SenderName

Returns or sets the name of the person creating a letter with the Letter Wizard.

SenderReference

Not used in the U.S. English version of Microsoft Word.

Subject

Returns or sets the subject text of a letter created by the Letter Wizard.

Applies to