GetBlockNames Method
- Namespace
TXTextControl.DocumentServer
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets a list of the names of all the merge blocks contained in the document.
Syntax
public string[] GetBlockNames();Public Function GetBlockNames() As String()Return Value
A list of the name of all merge blocks contained in the document.
Examples
The following example retrieves block names from the document controller.
string[] results = documentController.GetBlockNames();
foreach (string text in results)
{
Console.WriteLine(text);
}Dim results As String() = documentController.GetBlockNames()
For Each text As String In results
Console.WriteLine(text)
Next