Method Insert
Insert(BookmarkReference, IReadOnlyList<Inline>, BookmarkInsertPosition)
Inserts inlines at a bookmark, in order.
public static void Insert(this BookmarkReference bookmark, IReadOnlyList<Inline> inlines, BookmarkInsertPosition position = BookmarkInsertPosition.AtEnd)
Parameters
bookmarkBookmarkReferenceThe bookmark.
inlinesIReadOnlyList<Inline>The detached inlines to insert.
positionBookmarkInsertPositionWhere the content goes relative to the markers.
Exceptions
- ArgumentNullException
An argument is null.
- InvalidOperationException
A marker is detached from its paragraph.