PdfOutlineItem.InsertChild Method (Int32, String, PdfDocumentView)

Inserts new PdfOutlineItem with specified title and document view into the collection of this PdfOutlineItem's child items at the specified index.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfOutlineItem InsertChild(
	int index,
	string title,
	PdfDocumentView view
)
VB
Public Function InsertChild ( 
	index As Integer,
	title As String,
	view As PdfDocumentView
) As PdfOutlineItem

Parameters

index
Type: System.Int32
The zero-based index at which new PdfOutlineItem should be inserted.
title
Type: System.String
The text to be displayed on the screen for the new PdfOutlineItem.
view
Type: BitMiracle.Docotic.Pdf.PdfDocumentView
The document view to be displayed when the new PdfOutlineItem is activated.

Return Value

Type: PdfOutlineItem
The newly inserted PdfOutlineItem.

See Also