TableID Property
- Namespace
TXTextControl.DocumentServer. DataSources
- Package
TXTextControl.asTextControl. Core. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.dll
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; }Public Property TableID As ShortExamples
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}");mergeBlockSettings.TableID = 100
Console.WriteLine($"Table ID used by Merge Block Settings: {mergeBlockSettings.TableID}")