views:

78

answers:

1

In my app I am displaying PDF pages and want to allow the user to "mark up" the document by freehand drawing on top of the page. I can handle the Quartz code for doing the freehand drawing, but what approach can I used to save these "mark ups" so that they can be re-displayed over the page the next time the user loads the PDF into the app?

Thanks,

//Scott

A: 

Did you get any solution for your above question?

Darshan Sampat
I did. I ended up creating a class to hold all of the properties of an individual markup (path, strokecolor, fillcolor, etc), adding those to an array as the user creates marks on the page, and then archiving the array to save it. When the page is reloaded, I unarchive the array of markups and then loop through the array to redraw them.//Scott
skantner