TX Text Control .NET Server

MergeBlockName Property

Property|Introduced in 24.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

If the image is part of a merge block, this property returns the name of the block. If not, an empty string is returned.

Syntax

public string MergeBlockName { get; }

Examples

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

Console.WriteLine($"Merge Block Name: {imageMergedEventArgs.MergeBlockName}");
Console.WriteLine("Image Merged Event Args is ready for use.");

Limitations

Read only.