13 questions
0 votes
1 answer
29 views
Interactive PDF (for Mobile) - Is there a way to navigate to a page within a PDF and ensure that the user starts at the top of the page?
I'm creating an interactive PDF to be viewed on a mobile device (it's not an ideal option, but this is the direction we need to pursue). Currently, I have tested buttons and hyperlinks, and I can ...
0 votes
0 answers
69 views
Causing a subview to scroll with its superview
Had to cover a subclass of PDFView with an NSView to draw lines and texts, as PDFPage or PDFAnnotation don't seem to work at all. Successfully added the subview, showed a random text, but the problem ...
1 vote
2 answers
1k views
How to get exact X and Y origin values of pdf page in PDFKit?
I'm using PDFKit to display PDF using PDFView to user and it works perfectly. Here is my implementation of PDFView and here are the properties of PDFView. if let pdfdoc = PDFDocument(url: docurl) { ...
3 votes
1 answer
735 views
Erase pdfAnnotation added using pdfkit
I used the below code to draw a line to a pdfpage. Is there any way i can erase the annotation like an eraser when user drags over it. let lineAttributes: [PDFAnnotationKey: Any] = [ .linePoints: [...
0 votes
1 answer
1k views
How we can edit PDFPage Text in IOS swift 4?
I just want to edit PDFPage text , user click on edit button a box will be shown on each textBox rect and when user touch on any box then its text will be start editing and user able to remove all ...
2 votes
0 answers
301 views
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 ...
0 votes
0 answers
153 views
How to find the OC COSName in a PDPage belong to which Optional Content Group?
I have implemented functionality to allow user to draw a cloud shape on a pdf, using the PDPageContentStream class's curve methods.And, I am drawing each of this cloud on a separate layer(OCG). Now I ...
1 vote
2 answers
6k views
PDFPage does not exist in Python PDFMiner library
So i pip installed pdfminer3k for python 3.6. I was trying to follow some examples in opening and converting PDF files to text and they all require a PDFPage import. This does not exist for me. Is ...
0 votes
0 answers
563 views
How to convert Pdf pages into bitmaps using PdfRender in every android api version's?
I have looked through several codes and imported many libraries, i tried using PdfRender which is quite easy to use but it doesn't work below api version 21 and android-pdfviewer library code it makes ...
1 vote
1 answer
853 views
How to merge pdf documents and add pages in between
I have a requirement where i have to merge multiple PDF documents and add pages also with some text. For e.g. I have copied pages from one PDF and now i have to add a page with some text and then i ...
2 votes
2 answers
4k views
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....
0 votes
1 answer
298 views
PDFPage initWithImage: strange behavior
I can't understand the difference. It seams to be the same but is not! Does enybody know why? // Working: PDFPage *imagePDFPage = [[PDFPage alloc] initWithImage: [[NSImage alloc]...
2 votes
1 answer
647 views
NSImage -> PDFPage -> NSImage how do I mantain resolution?
I have a bunch of NSImages that I'm keeping in a PDFDocument, as PDFPages. When I insert the NSImage the first time, the size of the NSImage is in points (72 dpi), and the size of the (only) ...