BlockType Property
- Namespace
TXTextControl.DocumentServer. Windows. Forms
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Indicates the type of the merge block to be created.
Syntax
public BlockTemplateType BlockType { get; }Public ReadOnly Property BlockType As BlockTemplateTypeMembers
| Value | Description |
|---|---|
| TableRow | Create a table row containing the repeating merge block. |
| PlainParagraph | Create a paragraph containing the repeating merge block. |
Examples
The following example includes the block type value in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Block Type: {insertMergeBlockDialog.BlockType}");
Console.WriteLine("Insert Merge Block Dialog is ready for use.");Console.WriteLine($"Block Type: {insertMergeBlockDialog.BlockType}")
Console.WriteLine("Insert Merge Block Dialog is ready for use.")Limitations
Read only.