Gets or sets the field's format. The property's value can be one of the ApplicationFieldFormat values. If the format of the field is changed, its type name and parameters must also be changed.


public ApplicationFieldFormat Format { get; set; }
Public Property Format() As ApplicationFieldFormat


Member Description
MSWord The field is supported and defined through Microsoft Word.
HighEdit The field is supported and defined through the Heiler HighEdit component.


The following example uses the Format property of the ApplicationField class and is set to the MSWord format. After the document has been loaded all MergeField and PrintDate fields are available through the TextControl.ApplicationFields collection.

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)