Click or drag to resize

PdfOutlineCollectionAddAfter Method (PdfOutline, String)

Adds a new PdfOutline with the specified title after the specified existing PdfOutline in the PdfOutlineCollection.

Namespace:  GemBox.Pdf
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 13.0.35.1006
Syntax
public PdfOutline AddAfter(
	PdfOutline outline,
	string title
)

Parameters

outline
Type: GemBox.PdfPdfOutline
The PdfOutline after which to insert a new PdfOutline with the specified title.
title
Type: SystemString
The title of a new PdfOutline added to the PdfOutlineCollection.

Return Value

Type: PdfOutline
The new PdfOutline with the specified title.
Exceptions
ExceptionCondition
ArgumentNullExceptionoutline or title is .
InvalidOperationExceptionoutline is not in the current PdfOutlineCollection.
See Also