Click or drag to resize

PdfOutlineCollectionAddAfter(PdfOutline, String) Method

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

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

Parameters

outline  PdfOutline
The PdfOutline after which to insert a new PdfOutline with the specified title.
title  String
The title of a new PdfOutline added to the PdfOutlineCollection.

Return Value

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