A Macintosh or iOS object that encapsulates the functionality of PDFKit and which can be dropped into an interface using Xcode's Interface Builder.
Questions tagged [pdfview]
179 questions
2
votes
0 answers
PDFAnnotation in iOS <11.1
Creating and removing PDFAnnotation works perfectly fine on iOS 11.2, but have issues on lower iOS versions (don't know about 11.1, but test device has 11.0.5 installed).
PDFView after adding annotation to the page:
PDFView after removing…

Maksym Musiienko
- 1,248
- 8
- 16
2
votes
4 answers
PDFView doesn't highlight search results
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.highlightedSelections = searchedItems nothing happens.
Here's…

heyfrank
- 5,291
- 3
- 32
- 46
2
votes
3 answers
View PDF through C# .Net desktop App
I want to know how I can view a PDF through a C# .net desktop App. I am trying to create a application to view PDF using visual studio 2008
There is a pdf reader libraries called iText(iTextSharp). But it didn't help me

yohan.jayarathna
- 3,423
- 13
- 56
- 74
2
votes
1 answer
touchesBegan not firing in PDFView
I am trying to determine the location of a touch on a PDFView. I have set my pdf view to be user interacted as follows:
pdfView?.isUserInteractionEnabled = true
I then use the following function to detect touches:
override func touchesBegan(_…

Tom
- 790
- 2
- 9
- 32
2
votes
0 answers
osx nsslider call function while changing
i working with swift 3 for osx and i have a pdf view like this:
@IBOutlet weak var pdfView: PDFView!
let dictDocuments = NSURL(fileURLWithPath: NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0])
let completePath =…

Trombone0904
- 4,132
- 8
- 51
- 104
2
votes
1 answer
Change background color and text color of a PDFView in Android Studio
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 of showing up my black and white PDF in my app ( I…

MastafaF
- 29
- 4
2
votes
1 answer
How to animate zooming in Android
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 selectArea(){
/* Stop movement, jump to page 2,…

Mattia
- 1,057
- 2
- 17
- 33
2
votes
0 answers
Moved annotation in PDFView but it moves to the opposite direction
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 mouse first click point, centrosymmetric…

SuperBerry
- 1,193
- 1
- 12
- 28
2
votes
1 answer
Displaying pdf files using the PDFKit interface
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.11 , there will invoke PDFView->drawPage()…

linda
- 51
- 4
2
votes
1 answer
Creating a PDF viewer in XCode
I am new to XCode and Objective-C and am trying to create a multi-document PDF viewer using Cocoa. I am using the Quartz framework, but am not entirely sure how to go about doing this.
Any help would be much appreciated.
Thanks in advance.

LoneWolf
- 214
- 1
- 3
- 10
2
votes
2 answers
PDFView doesn't update when adding PDFPage to the PDFDocument
I'm making an application to scan multiple page pdf files. I have a PDFView and a PDFThumbnailView that are linked. The first time a scan is completed, I create a new PDFDocument and set it to PDFView. Then whenever another scan is completed I add a…

levidhuyvetter
- 401
- 5
- 16
2
votes
1 answer
Open pdf file in Android and search for word in it
I want to be able to open pdf files in my android and search for a specific word either in English or Arabic.. how to do that in code and what is the best pdf viewer to do search?

Eman87
- 2,735
- 7
- 36
- 53
2
votes
1 answer
Display the PDF file stored on the webserver on Browser new window using Spring MVC
I have a requirement to show PDF files in a browser. I use Spring MVC. Is there a way I can do this without using AbstractPdfView? I do not want to render the PDF at runtime. All the PDF files will be stored in my webserver.
This is the code I am…

Donald
- 329
- 1
- 3
- 7
2
votes
1 answer
can labels be turned off in PDFThumbnailView?
MacOS provides a very handy set of classes and objects for displaying PDF documents.
PDFThumbnailView is what's used to display a scrolling collection of thumbnails representing each page of the PDF document managed in a PDFDocument (and visible in…

Michael Dautermann
- 88,797
- 17
- 166
- 215
1
vote
3 answers
How to use PDFView in cocoa app?
I am working on cocoa now a days so, little bit new to mac development.
I want to open a PDF from my server. Is this possible with PDFView?
If anyone guide me in this then it will be very helpful for me.
Is there any sample code to open a PDF file…

iUser
- 1,075
- 3
- 20
- 49