- Posts: 10
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about iOS development and PDF
how to open document in pdfvpage with password
- joshnaAppcare
- Topic Author
- Offline
- New Member
-
Less
More
IP: 192.168.0.71
8 years 1 month ago #13438
by joshnaAppcare
how to open document in pdfvpage with password was created by joshnaAppcare
hi i want to open a PDF Document by PDFVPage with giving password.. how can i do it?
IP: 192.168.0.71
8 years 1 month ago #13440
by federico
Replied by federico on topic how to open document in pdfvpage with password
Hi,
You could create a new PDFDoc object and so call the method open and insert path and password in parametres.
In the end just create a new PDFVPage object initializing it by passing the new PDFDoc object that you already created and the page that you want.
You could create a new PDFDoc object and so call the method open and insert path and password in parametres.
In the end just create a new PDFVPage object initializing it by passing the new PDFDoc object that you already created and the page that you want.
- joshnaAppcare
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
IP: 192.168.0.71
8 years 1 month ago #13448
by joshnaAppcare
Replied by joshnaAppcare on topic how to open document in pdfvpage with password
hi,
how to add PDFVPage tosubview as this return id PDFVPage.init(pdfDoc, Int32(pagenow))
how to add PDFVPage tosubview as this return id PDFVPage.init(pdfDoc, Int32(pagenow))
IP: 192.168.0.71
8 years 1 month ago #13449
by federico
Replied by federico on topic how to open document in pdfvpage with password
Hi,
Can you better explain what are you trying to do?
Can you better explain what are you trying to do?
- joshnaAppcare
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
IP: 192.168.0.71
8 years 1 month ago - 8 years 1 month ago #13451
by joshnaAppcare
Replied by joshnaAppcare on topic how to open document in pdfvpage with password
Hi,
I want to display pdf to my own view like i want to add as subview, before PDFVPage I used PDFView where it is a subclass of scrollview so it can add to my view as a subview, but for PDFVPage how can i add as subView as it is subclass of NSObject..
I want to display pdf to my own view like i want to add as subview, before PDFVPage I used PDFView where it is a subclass of scrollview so it can add to my view as a subview, but for PDFVPage how can i add as subView as it is subclass of NSObject..
Last edit: 8 years 1 month ago by joshnaAppcare.
IP: 192.168.0.71
8 years 1 month ago #13458
by federico
Replied by federico on topic how to open document in pdfvpage with password
Hi,
If you want to display a PDF in a subview you have to use PDFView because PDFVPage isn't a view but a NSObject and so you can't display it.
If you want to display a PDF in a subview you have to use PDFView because PDFVPage isn't a view but a NSObject and so you can't display it.
Time to create page: 0.423 seconds