PdfDocumentOutlineView Class
Definition
Namespace: Xfinium.Pdf.View
Defines a control that displays the outline of a PDF document.
public class PdfDocumentOutlineView : TreeView, IComponent, IDisposable, IOleControl, IOleObject, IOleInPlaceObject, IOleInPlaceActiveObject, IOleWindow, IViewObject, IViewObject2, IPersist, IPersistStreamInit, IPersistPropertyBag, IPersistStorage, IQuickActivate, ISupportOleDropSource, IDropTarget, ISynchronizeInvoke, IWin32Window, IArrangedElement, IBindableComponent, IKeyboardToolTip, IHandle
Inheritance: Object → MarshalByRefObject → Component → Control → TreeView → PdfDocumentOutlineView
Implements: IComponent, IDisposable, IOleControl, IOleObject, IOleInPlaceObject, IOleInPlaceActiveObject, IOleWindow, IViewObject, IViewObject2, IPersist, IPersistStreamInit, IPersistPropertyBag, IPersistStorage, IQuickActivate, ISupportOleDropSource, IDropTarget, ISynchronizeInvoke, IWin32Window, IArrangedElement, IBindableComponent, IKeyboardToolTip, IHandle
Remarks
The PdfDocumentOutlineView control displays the outline of a PDF document. The outline is a hierarchical structure that represents the organization of the document's content. Each entry in the outline corresponds to a specific section or topic within the document, allowing users to navigate through the document easily.
The user can interact with the outline to jump to different sections of the document.
Constructor
| Name | Description |
|---|---|
| PdfDocumentOutlineView() | Initializes a new instance of the PdfDocumentOutlineView class. |
Properties
| Name | Description |
|---|---|
| Document | Gets or sets the visual document for which the outline is displayed. |
| DocumentView | Gets or sets the document view that displays the document content. |
| SelectedOutlineItem | Gets or sets the currently selected outline item in the outline view. |
| ShowDefaultContextMenu | Gets of sets a flag indicating whether the default context menu should be displayed when right-clicking on an outline item. |
Events
| Name | Description |
|---|---|
| BeforeOutlineItemAdd | Gets or sets the event that is fired when an outline item is about to be added to a PDF document. |
| AfterOutlineItemAdd | Gets or sets the event that is fired after an outline item has been added. |
| BeforeOutlineItemDelete | Gets or sets the event that is fired when an outline item is about to be deleted using the DEL key or the default content menu. |
| AfterOutlineItemDelete | Gets or sets the event that is fired after an outline item has been deleted. |
| SelectedOutlineItemChanged | Gets or sets the event that is fired when the selected outline item changes. |