Sets the specified repeat block's data source to an collection. |
public void SetRepeatBlock(System.Collections.IEnumerator dataSource, System.String bookmark) |
Public Sub SetRepeatBlock(ByVal dataSource As System.Collections.IEnumerator, ByVal bookmark As String) |
An |
The bookmark name of the template repeat block. The bookmark passed to
|
|
|
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. |
|