Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
100 views

I used PDFView to display PDF files, which was a success. But I don't know how to test this method in unit tests. com.github.barteksc.pdfviewer.PDFView pdfview = mainView.findViewById(R.id.pdfview); ...
alice's user avatar
  • 23
0 votes
1 answer
301 views

I have an app is working with PDFView. Today I added buttons for print by send data to printer directly. Do you have any solution, how to print data from PDFView just click on button. Note: Below ...
Khoem Vichet's user avatar
1 vote
1 answer
662 views

I am getting only these 3 options every time while my whole code is working any help will be appreciated. let selections = pdfView.currentSelection?.selectionsByLine() guard (selections?....
Ranveer Singh's user avatar
7 votes
2 answers
4k views

I have an iPad app displaying a PDFView. The app is rotatable to any orientation. The PDFView is full-screen and single-page. The PDF displays as expected when launched in either orientation; the ...
Mitch Cohen's user avatar
  • 1,665
9 votes
2 answers
4k views

In my iOS-App I'm using a PDFView with pdfView.usePageViewController(true, withViewOptions: nil). I want to hide the PDFThumbnailView when the user swipes to another page. I already looked inside ...
heyfrank's user avatar
  • 5,697
5 votes
4 answers
2k views

When an iOS PDFView is added to a UIView, the PDFView's page area adds a shadow-like border. Is there a way to eliminate the shadow? I know a few messy ways to do this: Extend the bounds off-screen, ...
Mitch Cohen's user avatar
  • 1,665
0 votes
1 answer
717 views

I'm working on an app which loads PDF files from a server and displays those PDF files within a PDFView. The files contain form fields in which the user is to type. That's works fine. The PDF files ...
Mitch Cohen's user avatar
  • 1,665
-1 votes
1 answer
204 views

I made an Android app that has a lot of pdf serially in a listview. Now I want to give a feature to the user that the user can view his/her last viewed PDF with a Floating Action Button. This FAB will ...
Deb Prakash Chatterjee's user avatar
3 votes
3 answers
2k views

I am trying to make a vertical scrolling PDFView using the following code: pdfView = PDFView(frame: view.frame) pdfView.backgroundColor = UIColor.white var documentName: String = "test" if let ...
Jeremie's user avatar
  • 2,471
0 votes
1 answer
1k views

I am trying to download a pdf file from the server and display it in PDFView in ios. I believe that I have successfully downloaded (file size is 1.1Mb) it and stored it in the DocumentsDirectory. ...
jamesMcKey's user avatar
2 votes
0 answers
467 views

In react native,installed react-native-pdf and react-native-fetch-blob.The PDF can view.The problem is while zooming (double tap or pinch), the iOS screen move to left top corner part and showing the ...
Emy's user avatar
  • 21
2 votes
4 answers
4k views

I'm trying out PDFView and want to highlight searched words. I was following this little tutorial right here (see search paragraph). I am getting matches for my PDF but when I set pdfView....
heyfrank's user avatar
  • 5,697
1 vote
1 answer
2k views

I'm working on a PDF Viewer using new PDFKit in ios11. I have a long 90 page pdf document as my test document. Everything seems to be working fine re loading, viewing, scrolling, and navigating the ...
lozflan's user avatar
  • 863
1 vote
2 answers
2k views

I have set pdfview scrolling direction as horizontal/vertical to scroll the pdf horizontally/vertically. But it appears in both cases there are always two pages appear in one view(1st page acquires 80%...
Poles's user avatar
  • 3,682
0 votes
1 answer
318 views

I am trying to make a subclass of PDFKit's PDFView in my macOS application, which has legacy objective-c code as part of the project. My swift class looks like this: import Foundation import Quartz ...
Ryan's user avatar
  • 1,060
0 votes
2 answers
2k views

Couldn't create horizontal scrolling PDF view in ios 10. Is this possible in iOS 11 ? Using PDFKit - PDFView ?
Mohamed Raffi's user avatar
2 votes
1 answer
2k views

It is my first question in here, so please tell me if you need more context. I am using a PDFView in my app by compiling this : compile 'com.github.barteksc:android-pdf-viewer:2.6.1'. I am capable ...
MastafaF's user avatar
1 vote
1 answer
823 views

In my app I use a window with a single PDF view for showing some information. When the window is shown first the display is fine: But when showing it once again the PDF inside is shifted: The code for ...
qwerty_so's user avatar
  • 36.5k
2 votes
1 answer
1k views

I'm developing an Android application, I used this library barteksc:android-pdf-viewer:2.3.0 I have to implement a simple animation, this is the code that I have implemented: private void ...
Mattia's user avatar
  • 1,117
2 votes
0 answers
149 views

I have written the code to move the annotation while dragging the mouse, however the result shows me the annotation moved to the opposite direction of my mouse move trace. It moves with center at the ...
SuperBerry's user avatar
  • 1,353
1 vote
1 answer
1k views

I Want to write a text message, typically "Drag & Drop a PDF here" on PDFView's "background" view. By background view I mean the matte gray view displayed when no PDF document is set. Based on ...
vomi's user avatar
  • 1,222
2 votes
1 answer
1k views

I am working on a Mac OS 10.12, and have an application to display pdf files using the PDFKit interface. But I encountered the following issues Set pdf document to PDFView, in original OS,e.g. OS10....
linda's user avatar
  • 51
1 vote
1 answer
2k views

After importing this library: https://github.com/JoanZapata/android-pdfview , I got this error: Error:The SDK Build Tools revision (19.0.3) is too low for project ':android-pdfview-sample'. ...
jeromeee's user avatar
0 votes
0 answers
366 views

The code that creates a pdf file works fine when the filestorePath is hardcode. As soon as I replace the hardcoded filestorePath with a value fetched from a database, I get a NullPointerException when ...
user3743058's user avatar
0 votes
1 answer
762 views

I want open PDF in android using pdfview. https://github.com/JoanZapata/android-pdfview This is my Layout code: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://...
aldakur's user avatar
  • 419