Click or drag to resize

PdfOutlineCollectionAddAfter(PdfOutline, PdfOutline) Method

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

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

Parameters

outline  PdfOutline
The PdfOutline after which to insert newOutline.
newOutline  PdfOutline
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