PdfOutlineItem.InsertChild Method (Int32, String, PdfPage)

Inserts new PdfOutlineItem with specified title and page 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,
	PdfPage page
)
VB
Public Function InsertChild ( 
	index As Integer,
	title As String,
	page As PdfPage
) 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.
page
Type: BitMiracle.Docotic.Pdf.PdfPage
The page to be displayed when the new PdfOutlineItem is activated.

Return Value

Type: PdfOutlineItem
The newly inserted PdfOutlineItem.

See Also