TX Text Control .NET for Windows Forms

BlockName Property

Property|Introduced in 23.0
Namespace
TXTextControl.DocumentServer
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets the name of the merge block the event was fired for.

Syntax

public string BlockName { get; }

Examples

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

Console.WriteLine($"Block Name: {blockMergingEventArgs.BlockName}");
Console.WriteLine("Block Merging Event Args is ready for use.");

Limitations

Read only.