Click or drag to resize

PdfiumFPDFBookmark_Find Method

Find a bookmark in the document, using the bookmark title

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static IntPtr FPDFBookmark_Find(
	IntPtr document,
	string title
)

Parameters

document  IntPtr
Handle to the document. Returned by FPDF_LoadDocument(String, String), FPDF_LoadMemDocument(Byte, Int32, String) or FPDF_LoadCustomDocument(FPDF_FILEACCESS, String) functions
title  String
The string for the bookmark title to be searched. Can't be NULL.

Return Value

IntPtr
Handle to the found bookmark item. IntPtr.Zero if the title can't be found.
Remarks
It always returns the first found bookmark if more than one bookmarks have the same title.
See Also