Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

How to get the Bookmarks in pdf file by using pdf.js library

  • 1 trả lời
  • 3 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi guigs

more options

In my application i am using PDF.js library to view the pdf files. Now i want to fetch the bookmark details which was already set in the pdf page. How could i get the those bookmark details by using pdf.js library. is there any specific methods available in pdf.js library to get that?

In my application i am using PDF.js library to view the pdf files. Now i want to fetch the bookmark details which was already set in the pdf page. How could i get the those bookmark details by using pdf.js library. is there any specific methods available in pdf.js library to get that?

Tất cả các câu trả lời (1)

more options

Hi ShantamReddy,

I asked #pdfjs and we would need you to clarify what you mean by "bookmark"

This is where the bookmarks in a pdf are populated https://github.com/mozilla/pdf.js/blo.../viewer.js#L1032 however you will have to customize what to do with them.

I hope this sheds some light on what you are trying to do.