PdfOutlineItem.InsertChild Method (Int32, String, PdfAction)

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

Return Value

Type: PdfOutlineItem
The newly inserted PdfOutlineItem.

See Also