BlockTemplateType Enumeration
- Namespace
TXTextControl.DocumentServer. DataSources
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXDocumentServer.Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXDocumentServer.from the setup.dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.dll
Description
Determines the type of repeating merge block which is inserted when using the DataSourceManager.InsertMergeBlock method.
Syntax
public enum BlockTemplateTypePublic Enum BlockTemplateTypeMembers
| Member | Value | Description |
|---|---|---|
| TableRow | 0 | Insert a table row based repeating merge block. |
| PlainParagraph | 1 | Insert 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}");Dim value As TXTextControl.DocumentServer.DataSources.BlockTemplateType = TXTextControl.DocumentServer.DataSources.BlockTemplateType.TableRow
Console.WriteLine($"Using Block Template Type: {value}")