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

Save annotations and draw it in new pdf

More
IP: 192.168.0.71 12 years 3 weeks ago #7030 by Rossi
Hi, i create a json with the annotation detail for every page and save it into database.
More
IP: 192.168.0.71 11 years 8 months ago #8241 by mexy101
Hi Rossi

can you please give example on saving your annotations (json). I am struggling to save mine in a database. as a matter of fact, i dont know how to go on about saving it.
More
IP: 61.0.26.226 6 years 1 month ago #15198 by [email protected]
How can i resave annotation into new pdf. Kindly assist me in swift.
More
IP: 111.196.243.34 6 years 1 month ago #15199 by radaee
in last version, you can use [PDFAnnot export] to export annotation data, like:
Code:
int data_size = [PDFAnnot export:NULL :0]; unsigned char *data = (unsigned char *)malloc(data_size); [PDFAnnot export:data :data_size]; //todo save data and data_size to your DB or storage. free(data);//free memory.
some annotation not support export, supported annotation type shall be:
ink/line/square/circle/text note/free text/polygon/polyline
Time to create page: 0.368 seconds
Powered by Kunena Forum