Sets the specified repeat block's data source to an collection. |
public void SetRepeatBlock(System.Collections.IEnumerator dataSource, System.String fieldName, System.String bookmark) |
Public Sub SetRepeatBlock(ByVal dataSource As System.Collections.IEnumerator, ByVal fieldName As String, ByVal bookmark As String) |
An |
The name of the merge field at which to insert the values. |
The bookmark name of the template repeat block. The bookmark passed to
|
|
|
Not all Word features can be included in a repeat block:
Supported in Repeat Blocks |
Not Supported in Repeat Blocks |
---|---|
|
|
A repeat block is a fragment in the template document that will be repeated for each row in a data source. In the template document, repeat blocks are defined by Word bookmarks that contain merge fields. You can call SetRepeatBlock several times for a single instance of WordTemplate. The repeat block specified by the parameter bookmark must exist in the template. All merge fields in the repeat block will bind to the specified data source. |
|