Skype:TextControlSupport
Orders:877-462-4772
TX Text Control - word processing components.

MailMerge.TextComponent Property

Description:  Gets or sets the TextComponent object of type ServerTextControl that is associated with the MailMerge component. The ServerTextControl.PageSize, ServerTextControl.PageMargins and ServerTextControl.Landscape properties will be used, if MailMerge.UseTemplateFormat has been set to false. The ServerTextControl.FormattingPrinter property will be used internally to format the text. It returns null when not specified.

Syntax: 
[C#]
public component TextComponent { get; set; }
[Visual Basic]
Public Property TextComponent() As component
Example:  The following example creates a new MailMerge object and associates a ServerTextControl with it:
[C#]
TXTextControl.MailMerge mailMerge1 = new TXTextControl.MailMerge();
TXTextControl.ServerTextControl serverTextControl1 = new TXTextControl.ServerTextControl();

mailMerge1.TextComponent = serverTextControl1;
[Visual Basic]
Dim MailMerge1 As TXTextControl.MailMerge = New TXTextControl.MailMerge
Dim ServerTextControl1 As TXTextControl.ServerTextControl = New TXTextControl.ServerTextControl

MailMerge1.TextComponent = ServerTextControl1
See also:  Mail Merge, Graphical Overview.
External verification page for ISO 9000:2000 certificate
ISO 9001:2000
certified