Method AddBookmark
- Namespace
- MigraDoc.DocumentObjectModel
- Assembly
- MigraDoc.DocumentObjectModel.dll
AddBookmark(string, bool)
Adds a new Bookmark.
public BookmarkField AddBookmark(string name, bool prepend = true)
Parameters
namestringThe name of the bookmark.
prependboolTrue, if the bookmark shall be inserted at the beginning of the paragraph.