PdfOutlineItem.AddChild Method (String, PdfPage)

Adds new PdfOutlineItem with specified title and page 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,
	PdfPage page
)
VB
Public Function AddChild ( 
	title As String,
	page As PdfPage
) As PdfOutlineItem

Parameters

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

See Also