Returns the names of all bookmarks in a WordWriter template.

 public System.String[] Bookmarks{ get; }
Public ReadOnly Property Bookmarks() As String()

Bookmarks are used to define repeat blocks. A repeat block is a fragment in the template document that contains merge fields and that will be repeated for each row in a data source.


          //--- Create the WordTemplate object.
          WordTemplate oWW = new WordTemplate();

          //--- Open a template using a string.
          oWW.Open("C:\template.doc");

          //--- Get all the bookmark names in the document.
          String[] allBookmarks = oWW.Bookmarks;
        

          '--- Create the WordTemplate object.
          Dim oWW As New WordTemplate()

          '--- Open a template using a string.
          oWW.Open("C:\template.doc")

          '--- Get all the bookmark names in the document.
          Dim allBookmarks As String() = oWW.Bookmarks