TX Text Control .NET Server

Cancel Property

Property|Introduced in 15.0
Namespace
TXTextControl.DocumentServer
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 or sets a value indicating whether the current merge process should be canceled.

Syntax

public bool Cancel { get; set; }

Examples

The following example uses FieldMergedEventArgs.Cancel to configure cancel as part of the field merged event args workflow. The configured value is checked before the workflow continues.

fieldMergedEventArgs.Cancel = true;
if (fieldMergedEventArgs.Cancel)
{
    Console.WriteLine("Field Merged Event Args: Cancel is enabled.");
}