Table of Contents

Method InsertChild

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

InsertChild(int, string)

Inserts new PdfOutlineItem with specified title into the collection of this PdfOutlineItem's child items at the specified index.

public PdfOutlineItem InsertChild(int index, string title)

Parameters

index int

The zero-based index at which new PdfOutlineItem should be inserted.

title string

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

Returns

PdfOutlineItem

The newly inserted PdfOutlineItem.

InsertChild(int, string, PdfAction)

Inserts new PdfOutlineItem with specified title and action into the collection of this PdfOutlineItem's child items at the specified index.

public PdfOutlineItem InsertChild(int index, string title, PdfAction action)

Parameters

index int

The zero-based index at which new PdfOutlineItem should be inserted.

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

InsertChild(int, string, PdfDocumentView)

Inserts new PdfOutlineItem with specified title and document view into the collection of this PdfOutlineItem's child items at the specified index.

public PdfOutlineItem InsertChild(int index, string title, PdfDocumentView view)

Parameters

index int

The zero-based index at which new PdfOutlineItem should be inserted.

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

InsertChild(int, string, PdfPage)

Inserts new PdfOutlineItem with specified title and page into the collection of this PdfOutlineItem's child items at the specified index.

public PdfOutlineItem InsertChild(int index, string title, PdfPage page)

Parameters

index int

The zero-based index at which new PdfOutlineItem should be inserted.

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

InsertChild(int, string, int)

Inserts new PdfOutlineItem with specified title and page index into the collection of this PdfOutlineItem's child items at the specified index.

public PdfOutlineItem InsertChild(int index, string title, int pageIndex)

Parameters

index int

The zero-based index at which new PdfOutlineItem should be inserted.

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