Пример #1
0
        private uint GetBookmarkPageIndex(IntPtr bookmark)
        {
            var dest = PdfiumLibrary.FPDFBookmark_GetDest(_document, bookmark);

            if (dest != IntPtr.Zero)
            {
                return(PdfiumLibrary.FPDFDest_GetPageIndex(_document, dest));
            }

            return(0);
        }