- Posts: 5
- 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 add blank page in iOS ?
10 years 3 weeks ago #11075
by wsk
How to add blank page in iOS ? was created by wsk
Hi,
I want to add blank page in document,rather than create a empty PDF document.what I can do?pelease help me,thank you very much!I use the iospdfviewer3.6.5.
I want to add blank page in document,rather than create a empty PDF document.what I can do?pelease help me,thank you very much!I use the iospdfviewer3.6.5.
10 years 3 weeks ago #11082
by emanuele
Replied by emanuele on topic How to add blank page in iOS ?
Hi,
you can use newPage method of PDFDoc class, something like:
To use this method you need a premium license
you can use newPage method of PDFDoc class, something like:
Code:
[m_doc newPage:[m_doc pageCount] :400 :500];
[m_doc save];
To use this method you need a premium license
9 years 9 months ago #11446
by wsk
Replied by wsk on topic How to add blank page in iOS ?
Hi,
I have finish adding and deleting new page.but I don't want to delete the original page.I just want to delete the new page.How to judge a new page or a original page?Looking forward to your reply,Thank you!
I have finish adding and deleting new page.but I don't want to delete the original page.I just want to delete the new page.How to judge a new page or a original page?Looking forward to your reply,Thank you!
9 years 9 months ago #11449
by emanuele
Replied by emanuele on topic How to add blank page in iOS ?
HI,
if you want to distinguish original pages from new pages you could save new page numbers (local storage like db, preferences...) and check if the page you're trying to delete is a new or original page.
if you want to distinguish original pages from new pages you could save new page numbers (local storage like db, preferences...) and check if the page you're trying to delete is a new or original page.
Time to create page: 0.399 seconds