Click or drag to resize

PdfOutlineCollectionAddAfter Method (PdfOutline, PdfOutline)

Adds the specified new PdfOutline after the specified existing PdfOutline in the PdfOutlineCollection.

Namespace:  GemBox.Pdf
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 13.0.35.1000
Syntax
public void AddAfter(
	PdfOutline outline,
	PdfOutline newOutline
)

Parameters

outline
Type: GemBox.PdfPdfOutline
The PdfOutline after which to insert newOutline.
newOutline
Type: GemBox.PdfPdfOutline
The new PdfOutline to add to the PdfOutlineCollection.
Exceptions
ExceptionCondition
ArgumentNullExceptionoutline or newOutline is .
InvalidOperationExceptionoutline is not in the current PdfOutlineCollection or newOutline belongs to another PdfOutlineCollection.
See Also