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
stringThe text to be displayed on the screen for the new PdfOutlineItem.
Returns
- PdfOutlineItem
The newly created PdfOutlineItem.
Remarks
See examples of adding child bookmarks in the PDF bookmarks section.
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
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 created PdfOutlineItem.
Remarks
See examples of adding child bookmarks in the PDF bookmarks section.
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
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 created PdfOutlineItem.
Remarks
See examples of adding child bookmarks in the PDF bookmarks section.
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
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 created PdfOutlineItem.
Remarks
See examples of adding child bookmarks in the PDF bookmarks section.
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
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 created PdfOutlineItem.
Remarks
See examples of adding child bookmarks in the PDF bookmarks section.