TX Text Control .NET for WPF

NextField Class

Class|Introduced in 20.0
Namespace
TXTextControl.DocumentServer.Fields
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDocumentServer.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXDocumentServer.dll from the setup.
Inherits
  1. FieldAdapter
  2. MailMergeFieldAdapter
  3. NextField

Description

The NextField class implements the MS Word specific NEXT field. This field must be used in combination with an ApplicationField that should be modified using this adapter.

Syntax

public sealed class NextField : MailMergeFieldAdapter

Examples

The following example creates a Next Field instance and configures its preserve formatting setting for a document workflow.

TXTextControl.DocumentServer.Fields.NextField nextField = new();
nextField.PreserveFormatting = true;

Members

Constructors

ConstructorDescription
MailMergeFieldAdapterInitializes a new instance of the MailMergeFieldAdapter class. (Inherited from MailMergeFieldAdapter.)
NextFieldInitializes a new instance of the NextField class.

Properties

PropertyDescription
PreserveFormattingSpecifies whether the field's formatting should be preserved. (Inherited from MailMergeFieldAdapter.)

Fields

FieldDescription
TYPE_NAMENot described in the reference. public const string TYPE_NAME = "NEXT";