FPDFBookmark_Find function
- @Native<FPDF_BOOKMARK Function(FPDF_DOCUMENT document, FPDF_WIDESTRING title)>(FPDF_DOCUMENT, FPDF_WIDESTRING)>()
- FPDF_DOCUMENT document,
- FPDF_WIDESTRING title
Find the bookmark with |title| in |document|.
document - handle to the document. title - the UTF-16LE encoded Unicode title for which to search.
Returns the handle to the bookmark, or NULL if |title| can't be found.
FPDFBookmark_Find() will always return the first bookmark found even if multiple bookmarks have the same |title|.
Implementation
@ffi.Native<FPDF_BOOKMARK Function(FPDF_DOCUMENT, FPDF_WIDESTRING)>()
external FPDF_BOOKMARK FPDFBookmark_Find(
FPDF_DOCUMENT document,
FPDF_WIDESTRING title,
);