BlockTemplateType Property
- Namespace
TXTextControl.DocumentServer. DataSources
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets a value of type BlockTemplateType which specifies the type of the inserted repeating block. (paragraph based or table row based)
Syntax
public BlockTemplateType BlockTemplateType { get; set; }Public Property BlockTemplateType As BlockTemplateTypeExamples
The following example uses MergeBlockSettings.BlockTemplateType to configure block template type as part of the merge block settings workflow. The configured value is checked before the workflow continues.
mergeBlockSettings.BlockTemplateType = TXTextControl.DocumentServer.DataSources.BlockTemplateType.TableRow;
Console.WriteLine($"Block Template Type used by Merge Block Settings: {mergeBlockSettings.BlockTemplateType}");mergeBlockSettings.BlockTemplateType = TXTextControl.DocumentServer.DataSources.BlockTemplateType.TableRow
Console.WriteLine($"Block Template Type used by Merge Block Settings: {mergeBlockSettings.BlockTemplateType}")