PdfOutlineItem.AddChild Method (String, PdfDocumentView)

Adds new PdfOutlineItem with specified title and document view to the end of this PdfOutlineItem's collection of child items.

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

Syntax

C#
public PdfOutlineItem AddChild(
	string title,
	PdfDocumentView view
)
VB
Public Function AddChild ( 
	title As String,
	view As PdfDocumentView
) As PdfOutlineItem

Parameters

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 created PdfOutlineItem.

See Also