Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Excerpt

This class is used to represent a bookmark in the document. Bookmarks can be added to a document in Word or programmatically using WordWriter. They can only be retrieved form an existing document.

Signature
C#
C#
<p> public sealed class Bookmark : Element
Element</p>
Signature
vb.net
vb.net
Public<p>Public NotInheritable Class BookmarkBookmark<br />
		Inherits Element
Element</p>
Remarks

To insert a bookmark into a document, use Element.CreateBookmark() or Table.CreateBookmarkOnRow(). To get a bookmark from an existing document use the Document.GetBookmark method.

The following sample shows you how to add a bookmark to a document and retrieve a bookmark from a document.

...

Name

Description

Name

Excerpt Include
WW8:Bookmark.NameWW8:
Bookmark.Name
nopaneltrue