Click or drag to resize

PdfOutlineCollectionAddBefore(PdfOutline, PdfOutline) Method

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

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

Parameters

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