Modifica

Condividi tramite


LetterContent Interface

Definition

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
Derived
Attributes
Implements

Remarks

Use the GetLetterContent() method or the CreateLetterContent method to return a LetterContent object.

The CreateLetterContent method creates a LetterContent object; however, there are numerous required arguments. If you want to set only a few properties, use the New keyword to create a new, standalone LetterContent object.

You can duplicate a LetterContent object by using the Duplicate property.

The SetLetterContent(Object) method inserts the contents of the specified LetterContent object in a document.

Properties

Application

Returns an Application object that represents the Microsoft Word application.

(Inherited from _LetterContent)
AttentionLine

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

(Inherited from _LetterContent)
CCList

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

(Inherited from _LetterContent)
Closing

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

(Inherited from _LetterContent)
Creator

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

(Inherited from _LetterContent)
DateFormat

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

(Inherited from _LetterContent)
Duplicate

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

(Inherited from _LetterContent)
EnclosureNumber

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

(Inherited from _LetterContent)
IncludeHeaderFooter

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

(Inherited from _LetterContent)
InfoBlock

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

(Inherited from _LetterContent)
Letterhead

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

(Inherited from _LetterContent)
LetterheadLocation

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

(Inherited from _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.

(Inherited from _LetterContent)
LetterStyle

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

(Inherited from _LetterContent)
MailingInstructions

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

(Inherited from _LetterContent)
PageDesign

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

(Inherited from _LetterContent)
Parent

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

(Inherited from _LetterContent)
RecipientAddress

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

(Inherited from _LetterContent)
RecipientCode

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

(Inherited from _LetterContent)
RecipientGender

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

(Inherited from _LetterContent)
RecipientName

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

(Inherited from _LetterContent)
RecipientReference

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

(Inherited from _LetterContent)
ReturnAddress

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

(Inherited from _LetterContent)
ReturnAddressShortForm

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

(Inherited from _LetterContent)
Salutation

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

(Inherited from _LetterContent)
SalutationType

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

(Inherited from _LetterContent)
SenderCity

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

(Inherited from _LetterContent)
SenderCode

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

(Inherited from _LetterContent)
SenderCompany

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

(Inherited from _LetterContent)
SenderGender

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

(Inherited from _LetterContent)
SenderInitials

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

(Inherited from _LetterContent)
SenderJobTitle

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

(Inherited from _LetterContent)
SenderName

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

(Inherited from _LetterContent)
SenderReference

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

(Inherited from _LetterContent)
Subject

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

(Inherited from _LetterContent)

Applies to