pasobshanghai.blogg.se

How to create a bookmark navigator word
How to create a bookmark navigator word












how to create a bookmark navigator word

close () Retrieving contents within a bookmarkīookmarkNavigator is used for navigating to a bookmark in a Word document. remove ( bookmark ) //Save and close the Word document. findByName ( "Northwind" ) //Remove the bookmark named "Northwind" from Word document. Docx ) //Get the bookmark instance by using FindByName method of BookmarkCollection with bookmark name. WordDocument document = new WordDocument ( "Bookmarks.docx", FormatType. Load an existing Word document into DocIO instance.

#How to create a bookmark navigator word how to#

The following code example shows how to retrieve an instance of bookmark from a Word document.

how to create a bookmark navigator word

Docx ) //Release the resources occupied by WordDocument instance. appendText ( " Using Northwind, you can become familiar with how a relational database is structured and how the database objects work together to help you enter, store, manipulate, and print your data." ) //Save the document in the given name and format. appendBookmarkEnd ( "Northwind" ) //Add a text after the bookmark end. It provides data you can experiment with and database objects that demonstrate features you might want to implement in your own databases." ) //Add a new bookmark end into paragraph with name " Northwind ". appendText ( "The Northwind sample database (Northwind.mdb) is included with all versions of Access. appendBookmarkStart ( "Northwind" ) //Add a text between the bookmark start and end into paragraph. addParagraph () //Add a new bookmark start into paragraph with name "Northwind". setHorizontalAlignment ( HorizontalAlignment. appendText ( "Northwind Database" ) paragraph. addSection () //Add a new paragraph into Word document and appends text into paragraph. WordDocument document = new WordDocument () //Add a new section into the Word Document. Create an instance of WordDocument class (Empty Word Document).














How to create a bookmark navigator word