TX Text Control .NET for WPF

BlockTemplateType Enumeration

Enumeration
Namespace
TXTextControl.DocumentServer.DataSources
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.

Description

Determines the type of repeating merge block which is inserted when using the DataSourceManager.InsertMergeBlock method.

Syntax

public enum BlockTemplateType

Members

MemberValueDescription
TableRow0Insert a table row based repeating merge block.
PlainParagraph1Insert a paragraph based repeating merge block.

Examples

The following example selects the Table Row value from the Block Template Type enumeration and uses it as a documented workflow choice.

TXTextControl.DocumentServer.DataSources.BlockTemplateType value = TXTextControl.DocumentServer.DataSources.BlockTemplateType.TableRow;
Console.WriteLine($"Using Block Template Type: {value}");