Click or drag to resize

PdfOutlineCollectionAddBefore(PdfOutline, String) Method

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

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

Parameters

outline  PdfOutline
The PdfOutline before 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