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
itemPdfOutlineItemThe existing outline item after which the new item will be inserted.
titlestringThe title of the outline item to create.
Returns
- PdfOutlineItem
The newly created outline item.
Exceptions
- ArgumentNullException
Thrown when
itemortitleisnull.- ArgumentException
Thrown when
itemdoes not belong to this collection.