Inserts a repeating merge block into a TextControl instance, a WPF.TextControl instance or a ServerTextControl instance at the current input position.

InsertMergeBlock(Object, DocumentServer.DataSources.MergeBlockInfo, DocumentServer.DataSources.MergeBlockSettings)

public void InsertMergeBlock(
   object textControl,
   DocumentServer.DataSources.MergeBlockInfo mergeBlockInfo,
   DocumentServer.DataSources.MergeBlockSettings settings);
Public Sub InsertMergeBlock( _
   textControl As Object, _
   mergeBlockInfo As DocumentServer.DataSources.MergeBlockInfo, _
   settings As DocumentServer.DataSources.MergeBlockSettings)

Parameters

Parameter Description
textControl A TextControl instance, a WPF.TextControl instance or a ServerTextControl instance.
mergeBlockInfo A MergeBlockInfo object which describes the merge block to insert into the TextControl instance.
settings A MergeBlockSettings object which describes the settings of the merge block to insert into the TextControl instance.

Examples

Inserts a repeating merge block into a TextControl instance, a WPF.TextControl instance or a ServerTextControl instance at the current input position.

public void InsertMergeBlock(
   object textControl,
   DocumentServer.DataSources.MergeBlockInfo mergeBlockInfo,
   DocumentServer.DataSources.MergeBlockSettings settings);
Public Sub InsertMergeBlock( _
   textControl As Object, _
   mergeBlockInfo As DocumentServer.DataSources.MergeBlockInfo, _
   settings As DocumentServer.DataSources.MergeBlockSettings)

Further Reading

Learn more about the TXTextControl.DocumentServer.DataSources.DataSourceManager.InsertMergeBlock Method in the Text Control Blog: