-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal for Blazor PDF viewer #3
Comments
Hey @VenkateshSrini thanks for opening this issue. Is there much of a requirement for this sort of functionality? Don't browser do this by default pretty much now a days? |
I there is actually a big vacuum when handling the PDF. The browser will in most cases downloads the pdf or if set the content-type correctly then will open in a new window. We would not be able to track how much page has user read the entire PDF pages. We would also like to know how many pages are there in a PDF and also the current page that the user is reading. |
Ok I see the use case. Is this something you are happy to maintain or is this just a suggestion? |
@chrissainty, |
Ok no problem. I don't think this is something I can undertake at the moment either. But it's a good suggestion and I'll leave the issue for when time is available. |
@chrissainty, |
The proposal is to have a free PDF rendering control. The control should be able to tell us the total number of pages and also the current page in which the user is in. To start with like BlazoredVideo, can a control be created using PDF.JS (https://github.com/mozilla/pdf.js/) and get an embedded PDF viewer in Blazor. As the user view changes from one page to another it should raise an event that will tell the current page number.
The text was updated successfully, but these errors were encountered: