TX Text Control .NET Server

TypeName Property

Property|Introduced in 15.0
Namespace
TXTextControl.DocumentServer.Fields
Package
TXTextControl.TextControl.Core.SDK as TXDocumentServer.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXDocumentServer.dll

Description

Gets the field's type name of the specific field through its adapter. For example for the type name of a Microsoft Word MergeField is MERGEFIELD. If the type name of the field is changed, its parameters must also be changed.

Syntax

public abstract string TypeName { get; }

Examples

The following example includes the type name value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Type Name: {fieldAdapter.TypeName}");
Console.WriteLine("Field Adapter is ready for use.");

Limitations

Read only.

Further Reading

  • MailMerge: Merge Hyperlinks into Merge Fields –
  • Reporting: Merge Formatted HTML into Merge Fields –