DocumentClass.CreateLetterContent 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public virtual Microsoft.Office.Interop.Word.LetterContent CreateLetterContent (string DateFormat, bool IncludeHeaderFooter, string PageDesign, Microsoft.Office.Interop.Word.WdLetterStyle LetterStyle, bool Letterhead, Microsoft.Office.Interop.Word.WdLetterheadLocation LetterheadLocation, float LetterheadSize, string RecipientName, string RecipientAddress, string Salutation, Microsoft.Office.Interop.Word.WdSalutationType SalutationType, string RecipientReference, string MailingInstructions, string AttentionLine, string Subject, string CCList, string ReturnAddress, string SenderName, string Closing, string SenderCompany, string SenderJobTitle, string SenderInitials, int EnclosureNumber, ref object InfoBlock, ref object RecipientCode, ref object RecipientGender, ref object ReturnAddressShortForm, ref object SenderCity, ref object SenderCode, ref object SenderGender, ref object SenderReference);
abstract member CreateLetterContent : string * bool * string * Microsoft.Office.Interop.Word.WdLetterStyle * bool * Microsoft.Office.Interop.Word.WdLetterheadLocation * single * string * string * string * Microsoft.Office.Interop.Word.WdSalutationType * string * string * string * string * string * string * string * string * string * string * string * int * obj * obj * obj * obj * obj * obj * obj * obj -> Microsoft.Office.Interop.Word.LetterContent
override this.CreateLetterContent : string * bool * string * Microsoft.Office.Interop.Word.WdLetterStyle * bool * Microsoft.Office.Interop.Word.WdLetterheadLocation * single * string * string * string * Microsoft.Office.Interop.Word.WdSalutationType * string * string * string * string * string * string * string * string * string * string * string * int * obj * obj * obj * obj * obj * obj * obj * obj -> Microsoft.Office.Interop.Word.LetterContent
Public Overridable Function CreateLetterContent (DateFormat As String, IncludeHeaderFooter As Boolean, PageDesign As String, LetterStyle As WdLetterStyle, Letterhead As Boolean, LetterheadLocation As WdLetterheadLocation, LetterheadSize As Single, RecipientName As String, RecipientAddress As String, Salutation As String, SalutationType As WdSalutationType, RecipientReference As String, MailingInstructions As String, AttentionLine As String, Subject As String, CCList As String, ReturnAddress As String, SenderName As String, Closing As String, SenderCompany As String, SenderJobTitle As String, SenderInitials As String, EnclosureNumber As Integer, Optional ByRef InfoBlock As Object, Optional ByRef RecipientCode As Object, Optional ByRef RecipientGender As Object, Optional ByRef ReturnAddressShortForm As Object, Optional ByRef SenderCity As Object, Optional ByRef SenderCode As Object, Optional ByRef SenderGender As Object, Optional ByRef SenderReference As Object) As LetterContent
参数
- DateFormat
- String
- IncludeHeaderFooter
- Boolean
- PageDesign
- String
- LetterStyle
- WdLetterStyle
- Letterhead
- Boolean
- LetterheadLocation
- WdLetterheadLocation
- LetterheadSize
- Single
- RecipientName
- String
- RecipientAddress
- String
- Salutation
- String
- SalutationType
- WdSalutationType
- RecipientReference
- String
- MailingInstructions
- String
- AttentionLine
- String
- Subject
- String
- CCList
- String
- ReturnAddress
- String
- SenderName
- String
- Closing
- String
- SenderCompany
- String
- SenderJobTitle
- String
- SenderInitials
- String
- EnclosureNumber
- Int32
- InfoBlock
- Object
- RecipientCode
- Object
- RecipientGender
- Object
- ReturnAddressShortForm
- Object
- SenderCity
- Object
- SenderCode
- Object
- SenderGender
- Object
- SenderReference
- Object