Gets or sets the field's format. The property's value can be one of the Application
public ApplicationFieldFormat Format { get; set; }
Public Property Format() As ApplicationFieldFormat
Member | Description |
---|---|
MSWord | The field is supported and defined through Microsoft Word. |
High |
The field is supported and defined through the Heiler High |
The following example uses the Format property of the Application
TXTextControl.LoadSettings ls = new TXTextControl.LoadSettings();
ls.ApplicationFieldFormat = TXTextControl.ApplicationFieldFormat.MSWord;
ls.ApplicationFieldTypeNames = new string[] { "MERGEFIELD", "PRINTDATE" };
textControl1.Load("c:\\test.rtf", TXTextControl.StreamType.RichTextFormat, ls);
Dim ls As TXTextControl.LoadSettings = New TXTextControl.LoadSettings()
ls.ApplicationFieldFormat = TXTextControl.ApplicationFieldFormat.MSWord
ls.ApplicationFieldTypeNames = New String() {"MERGEFIELD", "PRINTDATE"}
textControl1.Load("c:\test.rtf", TXTextControl.StreamType.RichTextFormat, ls)