Post

Replies

Boosts

Views

Activity

Reply to PDFKIT and annotations
Hi f15radar - I got around this by subclassing the ImageStampAnnotation, adding my own codable variables (ie dateStampString) that can be saved/retrieved as Key/Value pairs, and then overriding the draw method to add my image and text based on the variable. When I reload the PDF, I loops through all the annotations seeing which ones confirm to my subclass and reload them. If you are interested in going this route, let me know and I can upload some details/code. I word of warning, however... It seems that PDFKit will not accept any Keys that have a data stream (ie image) created by another framework (ie PDFTron, iText from PHP, etc.) Key.Value data stream pairs can only recognized when the PDF is saved from PDFKit.
Jul ’24