private uint GetBookmarkPageIndex(IntPtr bookmark) { IntPtr dest = NativePdfiumMethods.FPDF_BookmarkGetDest(_document, bookmark); if (dest != IntPtr.Zero) { return(NativePdfiumMethods.FPDFDest_GetPageIndex(_document, dest)); } return(0); }