IsMergeBlock Method
- Namespace
TXTextControl.DocumentServer. DataSources
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Checks if a given SubTextPart is a merge block.
Syntax
public static bool IsMergeBlock(SubTextPart subTextPart);Public Shared Function IsMergeBlock(subTextPart As SubTextPart) As BooleanParameters
| Parameter | Description |
|---|---|
| subTextPart | The SubTextPart object to be checked. |
Examples
The following example checks whether merge block applies to the data source manager.
if (TXTextControl.DocumentServer.DataSources.DataSourceManager.IsMergeBlock(new SubTextPart("CustomerName", 100)))
{
Console.WriteLine("Is Merge Block completed successfully.");
}If TXTextControl.DocumentServer.DataSources.DataSourceManager.IsMergeBlock(New SubTextPart("CustomerName", 100)) Then
Console.WriteLine("Is Merge Block completed successfully.")
End If