Table of Contents

Method AppendBookmark

Namespace
DocWright.Dom.Editing
Assembly
DocWright.Dom.dll

AppendBookmark(Paragraph, string)

Appends an empty bookmark at the end of a paragraph: a start and end marker with a document-unique id and nothing between them.

public static BookmarkStart AppendBookmark(this Paragraph paragraph, string name)

Parameters

paragraph Paragraph

The paragraph.

name string

The bookmark name.

Returns

BookmarkStart

The appended bookmark start.

Exceptions

ArgumentNullException

paragraph or name is null.