MergeBlockNamePrefix Property
- Namespace
TXTextControl.DocumentServer
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
A static property returning the internal merge block name prefix “txmb_”. The name of a SubTextPart has to start with this prefix if it should be recognized as a repeating mail merge block by the merge methods of class MailMerge.
Syntax
public static string MergeBlockNamePrefix { get; }Public Shared ReadOnly Property MergeBlockNamePrefix As StringExamples
The following example includes the merge block name prefix value in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Merge Block Name Prefix: {TXTextControl.DocumentServer.MailMerge.MergeBlockNamePrefix}");
Console.WriteLine("Mail Merge is ready for use.");Console.WriteLine($"Merge Block Name Prefix: {TXTextControl.DocumentServer.MailMerge.MergeBlockNamePrefix}")
Console.WriteLine("Mail Merge is ready for use.")Limitations
Read only.