PdfDocumentOutlineView.BeforeOutlineItemAdd Event
Gets or sets the event that is fired when an outline item is about to be added to a PDF document.
Event Type
EventHandler<PdfVisualOutlineItemAddEventArgs>
Remarks
This event enables the application logic to decide when a new outline item can be added to a PDF document.
Example
The code below shows how to ask for user confirmation before adding an outline item.