TX Text Control .NET for WPF

TableID Property

Property|Introduced in 26.0
Namespace
TXTextControl.DocumentServer.DataSources
Package
TXTextControl.TextControl.WPF.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the ID of the table created by DataSourceManager.InsertMergeBlock. Must be 0 (no ID) or a value between 10 and short.MaxValue. The default value is 0.

Syntax

public short TableID { get; set; }

Examples

The following example uses MergeBlockSettings.TableID to configure table id as part of the merge block settings workflow. The configured value is checked before the workflow continues.

mergeBlockSettings.TableID = 100;
Console.WriteLine($"Table ID used by Merge Block Settings: {mergeBlockSettings.TableID}");