Message-ID: <909357134.7609.1711615471948.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_7608_1190516719.1711615471948" ------=_Part_7608_1190516719.1711615471948 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Returns the names of all bookmarks in a WordWriter template.
=20public System.String[] Bookmarks{ get; }=20
Public ReadOnly Property Bookmarks() As String()=20
//--- Create the WordTemplate object. WordTemplate oWW =3D new WordTemplate(); //--- Open a template using a string. oWW.Open("C:\template.doc"); //--- Get all the bookmark names in the document. String[] allBookmarks =3D oWW.Bookmarks;=20
'--- 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() =3D oWW.Bookmarks=20