Adds a new sibling bookmark context to the parent bookmark context.
Visual Basic |
---|
Public Sub AddBookmarkSibling( _ ByVal ParentContext As BookmarkContext, _ ByVal Title As String, _ ByVal targetPageNumber As Long _ ) |
- ParentContext
- The BookmarkContext to receive the new sibling bookmark context.
- Title
- A string value which represents the title.
- targetPageNumber
- A long value which represents the target page number.
If the parent bookmark context already has a next sibling bookmark context, that sibling becomes the next sibling of the new sibling bookmark context.