Table of Contents

Method IndexOfChild

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

IndexOfChild(string)

Retrieves the zero-based index of the first occurrence of a child PdfOutlineItem with specified title.

public int IndexOfChild(string title)

Parameters

title string

The title (the text to be displayed on the screen) of the item to find in the collection.

Returns

int

The zero-based index of the first occurrence of a child PdfOutlineItem with specified title, if found; otherwise, -1.

IndexOfChild(PdfOutlineItem)

Retrieves the zero-based index of the first occurrence of the specified child PdfOutlineItem.

public int IndexOfChild(PdfOutlineItem child)

Parameters

child PdfOutlineItem

The PdfOutlineItem representing the child item to locate in the collection of child items.

Returns

int

The zero-based index of the first occurrence of the specified child PdfOutlineItem, if found; otherwise, -1.