PdfBookmark.GetChild Method

PDF File Writer

PdfBookmarkGetChild Method

Gets child bookmark

Namespace:  PdfFileWriter
Assembly:  PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public PdfBookmark GetChild(
	params int[] IndexArray
)

Parameters

IndexArray
Type: SystemInt32
Array of indices

Return Value

Type: PdfBookmark
Child bookmark or null if not found.
Remarks
Gets PdfBookmark object based on index. You can have multiple indices separated by commas i.e. GetChild(2, 3); Index is zero based. In the example we are looking first for the third bookmark child and then the forth bookmark of the next level.
See Also