Description |
---|
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# | |
---|---|---|---|
Wiki Markup | |||
{description}
{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.{excerpt}
{signature:C#}
public sealed class Bookmark : Element
| |||
Signature | |||
{signature}{signature:vb.net | vb.net | }
Public NotInheritable Class Bookmark
Inherits Element
| |
Remarks | |||
To insert a bookmark into a document, use {signature} {remarks}To insert a bookmark into a document, use [Element.CreateBookmark()|Element.CreateBookmark(String)] or [Table.CreateBookmarkOnRow()|Table.CreateBookmarkOnRow(Int32, String)]. To get a bookmark from an existing document use the [Document.GetBookmark|Document.GetBookmark(String)] method. The following sample shows you how to add a bookmark to a document and retrieve a bookmark from a document. | |||
Example | |||
Code Block | | csharp | csharp |
title | C# | ||
Code Block | vbnet | vbnet | title |
Properties |
---|
...
Name
...
Description
...
...
{code} {example} {properties} ||Name||Description|| |[Name|Bookmark.Name]|{excerpt-include:Bookmark.Name |
...
|nopanel=true}|
|