- Posts: 2
- 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 Android development and PDF
Save Annotation PDF in Android
IP: 192.168.0.71
7 years 10 months ago #13743
by jzuritag
Save Annotation PDF in Android was created by jzuritag
Hello!
I have a problem when I try to save my annotations in the pdf file.
How could I save it? Any idea? I don't find a save method, in Page.save()?¿
Best,
Juanfran
I have a problem when I try to save my annotations in the pdf file.
How could I save it? Any idea? I don't find a save method, in Page.save()?¿
Best,
Juanfran
IP: 192.168.0.71
7 years 10 months ago #13744
by Davide
Replied by Davide on topic Save Annotation PDF in Android
Hi,
please try :
For more info check this : www.radaeepdf.com/documentation/javadocs...Document.html#Save--
please try :
Code:
m_doc.Save();
For more info check this : www.radaeepdf.com/documentation/javadocs...Document.html#Save--
IP: 192.168.0.71
7 years 10 months ago #13745
by jzuritag
Replied by jzuritag on topic Save Annotation PDF in Android
Hello,
Thanks for you reply!
I was using that method, m_doc.Save() but I thought that it dosen't work!!
How could I recover the annotations when I open the doc?
Thanks again
Best,
Thanks for you reply!
I was using that method, m_doc.Save() but I thought that it dosen't work!!
How could I recover the annotations when I open the doc?
Thanks again
Best,
IP: 192.168.0.71
7 years 10 months ago - 7 years 10 months ago #13747
by Davide
Replied by Davide on topic Save Annotation PDF in Android
Hi,
to get all the annotation in a document, you need to do a simple loop like the following:
to get all the annotation in a document, you need to do a simple loop like the following:
Code:
for (int i = 0; i < m_doc.GetPageCount(); i++) {
Page page = m_doc.GetPage(i);
page.ObjsStart();
for (int j = 0; j < page.GetAnnotCount(); j++) {
Annotation annot = page.GetAnnot(j);
}
page.Close();
}
Last edit: 7 years 10 months ago by Davide.
Time to create page: 0.415 seconds