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
intThe zero-based index at which new PdfOutlineItem should be inserted.
title
stringThe 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
intThe zero-based index at which new PdfOutlineItem should be inserted.
title
stringThe text to be displayed on the screen for the new PdfOutlineItem.
action
PdfActionThe 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
intThe zero-based index at which new PdfOutlineItem should be inserted.
title
stringThe text to be displayed on the screen for the new PdfOutlineItem.
view
PdfDocumentViewThe 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
intThe zero-based index at which new PdfOutlineItem should be inserted.
title
stringThe text to be displayed on the screen for the new PdfOutlineItem.
page
PdfPageThe 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
intThe zero-based index at which new PdfOutlineItem should be inserted.
title
stringThe text to be displayed on the screen for the new PdfOutlineItem.
pageIndex
intThe index of the page to be displayed when the new PdfOutlineItem is activated.
Returns
- PdfOutlineItem
The newly inserted PdfOutlineItem.