Table of Contents

Method AddChild

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

AddChild(string)

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

public PdfOutlineItem AddChild(string title)

Parameters

title string

The text to be displayed on the screen for the new PdfOutlineItem.

Returns

PdfOutlineItem

The newly created PdfOutlineItem.

AddChild(string, PdfAction)

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

public PdfOutlineItem AddChild(string title, PdfAction action)

Parameters

title string

The text to be displayed on the screen for the new PdfOutlineItem.

action PdfAction

The action to be performed when the new PdfOutlineItem is activated.

Returns

PdfOutlineItem

The newly created PdfOutlineItem.

AddChild(string, PdfDocumentView)

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

public PdfOutlineItem AddChild(string title, PdfDocumentView view)

Parameters

title string

The text to be displayed on the screen for the new PdfOutlineItem.

view PdfDocumentView

The document view to be displayed when the new PdfOutlineItem is activated.

Returns

PdfOutlineItem

The newly created PdfOutlineItem.

AddChild(string, PdfPage)

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

public PdfOutlineItem AddChild(string title, PdfPage page)

Parameters

title string

The text to be displayed on the screen for the new PdfOutlineItem.

page PdfPage

The page to be displayed when the new PdfOutlineItem is activated.

Returns

PdfOutlineItem

The newly created PdfOutlineItem.

AddChild(string, int)

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

public PdfOutlineItem AddChild(string title, int pageIndex)

Parameters

title string

The text to be displayed on the screen for the new PdfOutlineItem.

pageIndex int

The index of the page to be displayed when the new PdfOutlineItem is activated.

Returns

PdfOutlineItem

The newly created PdfOutlineItem.