1

I can see a lot of methods to get values, I can even nicely map out the entire PDF into a dictionary (see this thread).

But I could not find a way to write back into those dictionaries. I really just want to turn off a layer visibility. Just set a boolean to false at Catalog.Pages.Kids[pageIndex].Resources.Properties.MC(layerIndex).Visible, then save the PDF.

I can see that you can nicely read/write annotations (even with the higher-level PDFKit API).
But how do you edit the rest of the PDF contents (like above)?
Is it achievable at all with Apple PDFKit?

Geri Borbás
  • 15,810
  • 18
  • 109
  • 172

0 Answers0