Table of Contents

Method InsertAfter

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

InsertAfter(PdfOutlineItem, string)

Creates a new outline item with the specified title and inserts it after the specified item in the collection.

public PdfOutlineItem InsertAfter(PdfOutlineItem item, string title)

Parameters

item PdfOutlineItem

The existing outline item after which the new item will be inserted.

title string

The title of the outline item to create.

Returns

PdfOutlineItem

The newly created outline item.

Exceptions

ArgumentNullException

Thrown when item or title is null.

ArgumentException

Thrown when item does not belong to this collection.