MergeBlockInfo Constructor
- 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
Initializes a new instance of the MergeBlockInfo class.
Syntax
MergeBlockInfo(string)
Initializes a new instance of the MergeBlockInfo class and sets the table name.
public MergeBlockInfo(string tableName);Public Sub New(tableName As String)| Parameter | Description |
|---|---|
| tableName | The name of the table which is the data source for this merge block. |
MergeBlockInfo(SubTextPart)
Initializes a new instance of the MergeBlockInfo class from an existing SubTextPart already containing merge block meta data (i. e. filter and sorting instructions and a possible block merging condition).
public MergeBlockInfo(SubTextPart subTextPart);Public Sub New(subTextPart As SubTextPart)| Parameter | Description |
|---|---|
| subTextPart | A SubTextPart instance containing merge block meta data (i. e. filter and sorting instructions and a possible block merging condition). |
Examples
The following example creates a Merge Block Info instance for a document-processing operation. The created object is then available to the surrounding document workflow.
TXTextControl.DocumentServer.DataSources.MergeBlockInfo mergeBlockInfo = new("CustomerName");
Console.WriteLine("Merge Block Info is ready for use.");Dim mergeBlockInfo As New TXTextControl.DocumentServer.DataSources.MergeBlockInfo("CustomerName")
Console.WriteLine("Merge Block Info is ready for use.")